Updated Release: C++ Rest SDK 2.5.0
AndroidFixed issue in CMakeLists.txt where parenthesis were incorrectly used instead of brackets.Fixed issue in CMakeLists.txt where pplxlinux.cpp source file was missing.Added Android TestRunner...
View ArticleNew Post: Error in SSL handshake for consecutive requests
FYI the fix is now in the development branch, and will eventually be in release 2.5.0. Steve
View ArticleNew Post: rest sdk http_listener as a network server
@Golabi, if I am not wrong, the sole purpose of this SDK is to use http_listener in network so that one can connect with this listener in network. Now I have a situation, where I have the listener...
View ArticleNew Post: rest sdk http_listener as a network server
@maverick786us 1- the purpose of this SDK is to provide a modern API to consume RESTFUL services. (http_listener is an experimental feature). 2- i had the same problem , i tried to integrate NGINX code...
View ArticleNew Post: the right way to read JSON from a file and POST it
I am trying this exact code (copy&past from damienhocking - Dec 17, 2014 at 6:25 AM) with cpprest 2.4.0.1 on windows 8.1 and visual studio 2013 linking against the v120 files. Only adding a...
View ArticleNew Post: the right way to read JSON from a file and POST it
Hi Holger_0000, I've never heard of this happening before. Do you have a repro that works on a public server I can hit? Can you please share the full 'exact' code you are hitting the problem with? If...
View ArticleNew Post: rest sdk http_listener as a network server
This is pretty surprising that casablanca doesn't offer a way to accesss http_listener to access the server locally. Now my clients have clearly said that they don't want any CLR or .NET framework to...
View ArticleNew Post: the right way to read JSON from a file and POST it
Hi Steve, I could locate the problem. It seems it does not work if i set the global locale to anything but "C" auto a2 = std::locale("en-us"); std::locale::global(a2); If i do this for my application...
View ArticleCommented Feature: on-demand thread creation/lib initialization [68]
Hello,I would like to use casablanca in a child process in Linux.When the application starts the crossplat::threadpool::s_shared is automatically constructed in the parent process. However, the 40...
View ArticleCommented Issue: http_listener hangs on open() if pplx task is created in...
http_listener.open() simply hangs if I pplx::create_task() {Sleep(forewer);} before hand.If I first start listener and then launch the task, then all incoming http requests will hang.This repros 100%...
View ArticleNew Post: Suitable algorithm to find an element in C++ Rest JSON
Hi I get a huge json from API. I have to find concrete fields. I would like to know the most suitable algorithm for getting an element from C++ Rest JSON Thanks
View ArticleNew Post: Suitable algorithm to find an element in C++ Rest JSON
Hi ggiloyan89, It sounds like you have a json object, so you could use the web::json::value::has_field function to check if an object has a field. You can look up fields using the json::value::at(...)...
View ArticleCommented Issue: http_listener hangs on open() if pplx task is created in...
http_listener.open() simply hangs if I pplx::create_task() {Sleep(forewer);} before hand.If I first start listener and then launch the task, then all incoming http requests will hang.This repros 100%...
View ArticleCommented Feature: on-demand thread creation/lib initialization [68]
Hello,I would like to use casablanca in a child process in Linux.When the application starts the crossplat::threadpool::s_shared is automatically constructed in the parent process. However, the 40...
View ArticleNew Post: the right way to read JSON from a file and POST it
Hi Holger_0000, Yes I see the problem. A stringstream is being used to write the Content-Length header which inherits the global locale. I'm working on a fix and will update this thread again once it...
View ArticleCommented Feature: on-demand thread creation/lib initialization [68]
Hello,I would like to use casablanca in a child process in Linux.When the application starts the crossplat::threadpool::s_shared is automatically constructed in the parent process. However, the 40...
View ArticleCommented Issue: http_listener hangs on open() if pplx task is created in...
http_listener.open() simply hangs if I pplx::create_task() {Sleep(forewer);} before hand.If I first start listener and then launch the task, then all incoming http requests will hang.This repros 100%...
View ArticleNew Post: Workarounds to build for Android under Mac OS X
So any idea when this will be fixed? I can't really used the 32bit versions of the libraries. Heisenberg
View ArticleNew Post: Workarounds to build for Android under Mac OS X
Well there is still a probe;em: I get this error now: Since you've disabled or enabled at least one algorithm, you need to do the following before building:make depend Configured for android-x86....
View Article