Edited Feature: http_listener - [Linux] server keep connection alive [141]
We don't have keep-connection alive implemented on our server on Linux (even though it looks like it is implemented, there is a variable m_close in http_linux_server.cpp but it simply doesn't...
View ArticleEdited Issue: JSON serializer generates invalid JSON in non-C locales [118]
Using Casablanca 2.0, compile and run the following program:```#include <assert.h>#include <locale.h>#include <cpprest/json.h>int main(){ setlocale(LC_ALL, "fr-FR"); auto x =...
View ArticleEdited Issue: extract_json() memory leak Reported [78]
Hi.I've used v1.4 in my VC++(MFC) project. ( i solved dll unloaded problem - https://casablanca.codeplex.com/workitem/17 )And I get a memory leak report.I tested SDI Project with the following code in...
View ArticleEdited Feature: Use Compiler Constants to Check for Common Errors [93]
Use compiler manifest constants in #include files to check for common development errors for the various supported compilers. Here's some gcc tests:```#ifdef __GNUC__#ifndef __GNUG__#error "Error: Not...
View ArticleEdited Issue: Building for OSX links against outdated system OpenSSL [246]
In some circumstances, building on OSX will link against the system provided 0.9.8y version of OpenSSL instead of the desired Homebrew version 1.0.1i+.Diagnostic:* Run ```otool -L libcpprest.dylib```...
View ArticleCommented Issue: Building for OSX links against outdated system OpenSSL [246]
In some circumstances, building on OSX will link against the system provided 0.9.8y version of OpenSSL instead of the desired Homebrew version 1.0.1i+.Diagnostic:* Run ```otool -L libcpprest.dylib```...
View ArticleClosed Issue: Building for OSX links against outdated system OpenSSL [246]
In some circumstances, building on OSX will link against the system provided 0.9.8y version of OpenSSL instead of the desired Homebrew version 1.0.1i+.Diagnostic:* Run ```otool -L libcpprest.dylib```...
View ArticleEdited Issue: websocket_client - uncatchable exception when receive/close...
Mentioned in a comment in https://casablanca.codeplex.com/workitem/177.raffaeler wrote Fri at 6:41 AM [x] Using 2.1.0 here. I could not even catch the exception with websocket_exception nor "..." When...
View ArticleEdited Unassigned: basic_istream::read_to_end returns a size_t on 32-bit...
Reported by https://casablanca.codeplex.com/discussions/561562.The member function```template<typename...
View ArticleEdited Issue: Unloading the dll crashes the process [233]
I am using the 2.1.0 with the WebSocket support only.I wrapped my code (a plugin) within a dll that talks using websocket.- load my dll and casablanca dll in memory using LoadLibrary- use the websocket...
View ArticleEdited Issue: websocket_client - set_data using istream should have a default...
codereview comment from Steve:"Should the len variable default to some value which means read until the end of the stream?"While setting data on a websocket outgoign message using stream interfaces,...
View ArticleEdited Issue: websocket_client - set_data using istream should have a default...
codereview comment from Steve:"Should the len variable default to some value which means read until the end of the stream?"While setting data on a websocket outgoign message using stream interfaces,...
View ArticleEdited Issue: Cannot set the "Sec-WebSocket-Protocol" header in WinRT...
Annoyingly, "Sec-WebSocket-Protocol" is treated as a reserved-word by MessageWebSocket. If you try to set that header, you get a Platform::COMException^. We will have to use the...
View ArticleCommented Issue: websocket_client remove usage of POCO server in tests [221]
Instead we should just use WebSocket++ since it already is a dependency.Comments: Fixed in the development branch.
View ArticleUpdated Release: C++ Rest SDK 2.3.0
websocket_clientPoco is no longer used as test server for WinRT tests, Websocketpp is used in all cases.MiscReference documentation improvements.
View ArticleClosed Issue: websocket_client remove usage of POCO server in tests [221]
Instead we should just use WebSocket++ since it already is a dependency.
View ArticleUpdated Release: C++ Rest SDK 2.3.0
websocket_clientPoco is no longer used as test server for WinRT tests, Websocketpp is used in all cases 221.MiscReference documentation improvements.
View ArticleCreated Issue: websocket_client - non WinRT implementation isn't using...
Only our WinRT client is using the headers correctly.
View ArticleUpdated Wiki: OAuth Client
OAuth Client (2.2+ only) OAuth Client is the client side implementation of the OAuth protocol. We support both OAuth1 and OAuth2.OAuth2 To use the OAuth2 authoriziation, you first need to set up your...
View ArticleEdited Issue: Delete ./run_tests on Linux (doesn't accurately report results...
Our test running helper script doesn't print at the end if an earlier up test case failed. This can make it easy to run locally and think everything is fine. This doesn't affect our builds.Ideally we...
View Article