Updated Release: C++ Rest SDK 2.3.0
http_clientImplemented server certificate verification on Android. #242Added usage of Boost ssl::context::default_workarounds for compatibility with somewhat broken servers.Fixed issue with server...
View ArticleNew Post: Client certificate support
Hi, I am able to add this feature in the windows implementation using this:#if ( (defined(_WIN32) || defined(WIN32)) && !defined(__cplusplus_winrt) ) void ClientCerts(const wstring& cert =...
View ArticleCreated Issue: http_client - boost client hangs if an error is reported...
This is a really weird bug that is high impact. For some reason if an error occurs and we call report_error/report_exception at any point when uploading a request body it doesn't seem to cause the task...
View ArticleClosed Feature: Visual Studio 14 Support [278]
Support for the next version of Visual Studio.
View ArticleEdited Feature: Visual Studio 14 Support [278]
Support for the next version of Visual Studio.
View ArticleClosed Issue: http_headers::content_length() returns 0 for sizes larger than...
Associated with changeset 1219548: Initial fix for content_length bugI was using the December preview of the C++ Azure Storage SDK built on top of Casablanca 1.3.1, and nothing was working for me when...
View ArticleCreated Unassigned: Return -1 if content_length is not set [298]
Currently, we return 0 if the Content-Length header is not set. Since 0 is a potentially valid Content-Length setting, this is somewhat ambiguous. It may be better to return (size64_t)(-1) to signal...
View ArticleCommented Issue: http_headers::content_length() returns 0 for sizes larger...
Associated with changeset 1219548: Initial fix for content_length bugI was using the December preview of the C++ Azure Storage SDK built on top of Casablanca 1.3.1, and nothing was working for me when...
View ArticleNew Post: A Win32 DLL as a listener
Hi Rosch & Steve Just like the way I created a listener console application that GET, PUT and POST request from webpage and a chrome addin. Is it possible to implement this complete server...
View ArticleNew Post: exception "Error in IXMLHttpRequest2Callback" when doing a...
Hi Steve, I think what you said is correct. I did not handle exception properly it seems. I wanted to handle all the exceptions at one place. But i am not sure how to handle exceptions for tasks that...
View ArticleNew Post: exception "Error in IXMLHttpRequest2Callback" when doing a...
Hi Venu, Yes I can help you with this :) With a task chain, like the one you have above making two http requests, if an exception occurs it will be propagated forward to the next task, until it...
View ArticleNew Post: Client certificate support
Hi G, Right now this won't be possible on Linux. Basically we haven't implemented the set_nativehandle_options feature for all the platforms yet. This definitely is important to allow for customization...
View ArticleNew Post: A Win32 DLL as a listener
Hi maverick786us, Yes. Our http_listener is just a library only solution so you can use in an executable, like you have been doing, or inside a dll. You'd need to design and decide on the APIs you want...
View ArticleNew Post: Build errors for iOS on OSX Mavericks / XCode6
Hi, This issue should be fixed in the development branch. Please check it out and let us know if it solves the problem! Note: you may need to rebuild boost.framework. Sincerely, roschuma
View ArticleUpdated Wiki: Setup and Build on iOS
How to build and setup on iOS First, follow all the instructions on Setup and Build on OSX. While some steps could be skipped if you only want to build for iOS, it is useful to diagnose problems during...
View ArticleNew Post: Client certificate support
Hi Steve, Thanks for this clarification. Another question about web::credentials: I am able to use code like this for client authentication: web::http::client::http_client_config client_cfg;...
View ArticleCreated Issue: file streams - AV if trying to call any methods after close()...
In the file streams we delete a data structure that appears to be used in almost all methods. This causes anyone who calls a method after close to get an AV. While maybe not terrible this is not ideal...
View ArticleNew Post: Inputting a string
stevetgates wrote: Hi maverick786us, If you are starting your listener from the command line locally you could pass in command line arguments. Then simply supply the string command line arguments to...
View ArticleNew Post: POST Request from Ajax Call
I am using this source code to receive POST request using Ajax Calllistener.support(methods::POST,[](http_request req) { std::cout << "Serving POST" << std::endl;...
View Article