Commented Unassigned: defect in lazy initialization of static in...
The instance object in the code below races on construction during multi-threaded use of the API when generating errors. The generated code on Windows/VS2013 is not thread safe. The actual error is...
View ArticleNew Post: IIS support
Correct there isn't any IIS integration. If you are hosting a serious service you probably want to integrate with IIS, Apache, etc... we didn't do any of this work. Steve
View ArticleEdited Issue: defect in lazy initialization of static in windows_category()...
The instance object in the code below races on construction during multi-threaded use of the API when generating errors. The generated code on Windows/VS2013 is not thread safe. The actual error is...
View ArticleNew Post: Assert with request in http_client_impl.h on iOS
I am attempting to use the SDK in iOS 8, and it is failing an assert in http_client_impl.h upon the second attempt to connect. I create a, http_client as a class member, and use it to issue a single...
View ArticleCommented Issue: defect in lazy initialization of static in...
The instance object in the code below races on construction during multi-threaded use of the API when generating errors. The generated code on Windows/VS2013 is not thread safe. The actual error is...
View ArticleNew Post: Assert with request in http_client_impl.h on iOS
This is solved. I found out my issue-- I was setting the Content-Length for a POST but not setting the body for the request. For reference here are the updated lines: if (HTTPBody.length() > 0) {...
View ArticleUpdated Release: C++ REST SDK 2.7.0
websocketsMerged pull request allowing through CMake to use an external version of Websocket++. #294miscellaneousMerged a couple of pull requests (here, here, and here) fixing several issues with...
View ArticleCommented Issue: defect in lazy initialization of static in...
The instance object in the code below races on construction during multi-threaded use of the API when generating errors. The generated code on Windows/VS2013 is not thread safe. The actual error is...
View ArticleClosed Issue: defect in lazy initialization of static in windows_category()...
The instance object in the code below races on construction during multi-threaded use of the API when generating errors. The generated code on Windows/VS2013 is not thread safe. The actual error is...
View ArticleNew Post: Assert with request in http_client_impl.h on iOS
Hi navysparks, Glad you figured it out. Yes that assert was checking to see if the stream body was valid. I can't quite tell exactly what type HTTPBody is, but you shouldn't need to explicitly sent the...
View ArticleNew Post: Many memory leaks with MFC based application
problem Please give me hints to fix memory leaks. Here's step by step procedure to reproduce problem.Environment Visual Studio 2013 Update 4Create new applicationMFC based applicationDialog baseUse MFC...
View ArticleNew Post: Many memory leaks with MFC based application
Detected memory leaks! Dumping objects -> {3808} normal block at 0x005CE710, 48 bytes long. Data: <S e c - W e b S > 53 00 65 00 63 00 2D 00 57 00 65 00 62 00 53 00 {3807} normal block at...
View ArticleNew Post: Many memory leaks with MFC based application
Hi qt6hy, There are no actual memory leaks going on here, this has to do with how MFC decides to measure and report leaks. When the MFC dll unloads it reports on all the remaining objects that haven't...
View ArticleCommented Issue: defect in lazy initialization of static in...
The instance object in the code below races on construction during multi-threaded use of the API when generating errors. The generated code on Windows/VS2013 is not thread safe. The actual error is...
View ArticleNew Post: Many memory leaks with MFC based application
Thank you Steve. I know the background of the problem.
View ArticleNew Post: Reusing existing io_service for websocket client?
I already have an io_service in my application used to receive data from a different system. Is it possible to reuse this io_service for the Casablanca websocket client so that I get all callbacks in...
View ArticleCreated Unassigned: Round tripping utf conversion fails for some surrogate...
Round tripping utf conversions fails for some surrogate pairs (below test). Starting with 0xD840, 0xDC00 which returns 0xD800, 0xDC00 after the converstions back and forth.```#include...
View ArticleEdited Unassigned: Round tripping utf conversion fails for some surrogate...
Round tripping utf conversions fails for some surrogate pairs (below test). Starting with 0xD840, 0xDC00 which returns 0xD800, 0xDC00 after the converstions back and forth. Using version 2.6 on...
View ArticleNew Post: Reusing existing io_service for websocket client?
Hi DesktopMan, No there isn't anything exposed in our public API about Boost with the websocket client, so I don't think you will be able to do this. We don't use Boost to power our websocket client on...
View ArticleNew Post: Having boost problems on Linux during build
I'm using Boost-1.58.0, and g++-4.8.2 (Ubuntu 14.04), and having the same issue. The solution is to remove "-Werror" (treat warning as error) in Release/src/CMakelist.txt:53 into: set (CMAKE_CXX_FLAGS...
View Article