Created Unassigned: Build fails on OS X 10.8.5 due to -Wnull-conversion [327]
Hi,There is a problem while compiling CPPRest 2.3 on Mac OS X 10.8.5 with a conversion from NULL to nullptr_t:```...cpprest/astreambuf.h:524:42: error: implicit conversion of NULL constant to...
View ArticleNew Post: the right way to read JSON from a file and POST it
Hi Damien, You shouldn't change the fileStream in your lambda to be captured by reference that is very dangerous. What is happening is when your lambda executes you are referring to the address of the...
View ArticleNew Post: how to https Certification
Hi Kyle, I don't have any code examples setting the client certificate. I don't understand what you mean by 'setting the hRequest to a useful value'? Are you referring to the native_handle parameter...
View ArticleNew Post: Does now support Casablanca
Hi Steven, The C++ Rest SDK and it dependencies, like std::atomic do not work with /clr. There are no plans to change this and support the scenario. If you use a purely native C++ application, and not...
View ArticleNew Post: Log inputs and outputs for debugging OAuth2 authentication
Hello Roshuma, Thanks for your reply. I have built a local test server to see the messages and I've tracked the authentication issue down to the very last step, but I am unable to debug it further. It...
View ArticleNew Post: web socket client
I want to receive data from a web socket server in C++. Its address is "ws://localhost:6002/pullRank". No need for input arguments. The receive message is text. But so much error takes place in...
View ArticleNew Post: web socket client
And the error is as follow: ``` Error 56 error C1506: unrecoverable block scoping error e:\visual studio 2013\final\2048\packages\cpprestsdk.2.3.0\build\native\include\cpprest\ws_msg.h 203 1 2048 Error...
View ArticleNew Post: the right way to read JSON from a file and POST it
Argh. That was exactly the compiler error I was getting. I should have looked further for const vs non-const, but I've never actually run into that before with lambdas. We live and learn. Thanks for...
View ArticleNew Post: POST requests with JSON body for MS SharePoint operations
Thank you for reply. I've manage to make it work - I've added body size parameter. Though I didn't still get why doesn't it works without explicit string length detection. Single quotes btw are seems...
View ArticleNew Post: Windows Impersonation in Casablanca service?
Hi Steve, that is correct. Thanks for the answer. We're going to continue using the custom server we've developed with boost. Thanks Johan
View ArticleCommented Feature: support statically linked runtime [18]
I think as you know if you are linking against this library and you are not using dynamically linked runtime you might see weird behaviors or even crash (have no idea what's going on since it's not a...
View ArticleNew Post: Log inputs and outputs for debugging OAuth2 authentication
It likely isn't your issue, but why are you using HEAD here? As I understand it, your curl invocation should have sent a GET request. The only thing I can think of that might cause issues is perhaps...
View ArticleCommented Feature: support statically linked runtime [18]
I think as you know if you are linking against this library and you are not using dynamically linked runtime you might see weird behaviors or even crash (have no idea what's going on since it's not a...
View ArticleNew Post: web socket client
Hi jinkuncai, We actually have a bug in the last release where a header file include is missing and can cause compilation errors, like the ones you're seeing, if you only include ws_client.h. This has...
View ArticleCommented Feature: support statically linked runtime [18]
I think as you know if you are linking against this library and you are not using dynamically linked runtime you might see weird behaviors or even crash (have no idea what's going on since it's not a...
View ArticleCommented Unassigned: cpprestsdk140.android project does not use -Werror [323]
There are currently a few minor warnings which must be dealt with before enabling -Werror.Comments: This have been fixed and warnings are now treated as errors in the development branch. Will be in...
View ArticleClosed Unassigned: cpprestsdk140.android project does not use -Werror [323]
There are currently a few minor warnings which must be dealt with before enabling -Werror.
View ArticleUpdated Release: C++ Rest SDK 2.4.0
oauthFixed memory leak with OAuth 1 in the success case. #321OAuth1 added support for parameters in POST request body if Content-Type is application/x-www-form-urlencoded.OAuth1 fixed some parameters...
View ArticleCommented Unassigned: http_linux : race condition in...
Method checks if pool is empty ; if not, it take the first connection from pool.However, IIUC, pool is locked in underlying methods is_pool_empty() and get_head(), so this does not work reliably...
View ArticleClosed Unassigned: http_linux : race condition in...
Method checks if pool is empty ; if not, it take the first connection from pool.However, IIUC, pool is locked in underlying methods is_pool_empty() and get_head(), so this does not work reliably...
View Article