Updated Wiki: Setup and Build on Linux
How to setup, build, and run tests on LinuxNote: as of 7/10/2014 we require the latest Ubuntu LTS 14.04 and Boost 1.54 for development branch; This will be required for master branch in the next...
View ArticleUpdated Wiki: Setup and Build on OSX
How to setup, build, and run tests on OSX 1. Ensure you have the most recent version of OSX and Xcode (As of this writing, 10.9.2 and 5.0.2 respectively).2. You will need to install the development...
View ArticleClosed 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 ArticleEdited Issue: Compiling cpprest/http_client.h with g++ -Wall results in tons...
Compiling any code using the SDK with "g++ -Wall" results in more than a hundred warnings. The warnings are harmless: 70 of them are `-Wunknown-pragmas` and 33 more are `-Wreorder`, but it would still...
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.Miscrun_tests.sh has been removed. The tests can be run by invoking the testrunner...
View ArticleNew Post: help with task cancellation
I made a small improvement in the code from my previous post. I use pplx::wait_any() to wait for completed tasks instead of the original's sleep/continue. The while() loop is now:while (!tasks.empty())...
View ArticleNew Post: limit the number of active tasks
I solved this problem by having my task generator generate functions that start tasks instead of the tasks themselves. My consumer then can decide how many of these task-starting functions to run at a...
View ArticleCommented Issue: Deploying to WP8.1 failed DEP6810 : MdilXapCompile.exe...
#ProblemWhen I try deploy my application with release configuration (Release | ARM) to real device I had the error:Error DEP6810 : MdilXapCompile.exe failed with error code 1004. See log file '<My...
View ArticleEdited Issue: Deploying to WP8.1 failed DEP6810 : MdilXapCompile.exe failed...
#ProblemWhen I try deploy my application with release configuration (Release | ARM) to real device I had the error:Error DEP6810 : MdilXapCompile.exe failed with error code 1004. See log file '<My...
View ArticleNew Post: "ostream" is ambiguous
Such ambiguity is exactly the thing namespaces were created to solve, so if you "throw them away" with using statements you've exactly unsolved the problem. As stevetgates' reply suggests, a blanket...
View ArticleNew Post: Auto Redirect
Hi all Hi all I looked harder at the source code and discovered a very nice capability within the existing http_client_config class which worked a treat: whttp::client::http_client_config config;...
View ArticleCreated Unassigned: Json string parsing error: \uXXXX (narrow strings) [252]
Under Linux where strings are narrow, json string parsing incorrectly handles \uXXXX escape sequences (ex: \u20AC = €).In version 2.2.0, json_parsing.cpp line 724, the 16 bits char value is truncated...
View ArticleNew Post: User Input into HTTP
Hi Steve, Apologies, I know it's not related to C++ Rest SDK--So is my syntax was correct in the "LabelMaker" function?? Thanks, Matt
View ArticleNew Post: User Input into HTTP
Hi Matt, At a quick glance the usage of uri_builder looks OK, obviously you aren't doing anything with the http_response. Now you just need to make sure to setup your extern variables correctly. Steve
View ArticleNew Post: Auto Redirect
Hi James, Yes in general we try to make our APIs layer so you can dive down deeper to the platform API we build on. What you have should work for Windows desktop, for Windows store/phone we build on a...
View ArticleNew Post: Long run thread
Somewhat related, depending on what you want to accomplish, you also can create and specify your own custom scheduler for executing tasks. Then you can pass you schedule to create_task and .then...
View ArticleNew Post: limit the number of active tasks
Hi evan, Yes that could be one solution. Part of the problem is when you initiate an HTTP request with our http_client, there isn't one task that represents and holds the whole operation. Depending on...
View ArticleCreated Unassigned: Fix warnings on gcc 4.8 with -Wall in test code. [253]
Subtask of https://casablanca.codeplex.com/workitem/173
View ArticleEdited Issue: Compiling cpprest/http_client.h with g++ -Wall results in tons...
Compiling any code using the SDK with "g++ -Wall" results in more than a hundred warnings. The warnings are harmless: 70 of them are `-Wunknown-pragmas` and 33 more are `-Wreorder`, but it would still...
View Article