Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Browsing all 4845 articles
Browse latest View live
↧

Edited Issue: http_listener dev14 - several tests AV related to streams [315]

Could be related to https://casablanca.codeplex.com/workitem/314. Several tests AV, this appears to be seriously blocking for usage of http_listener with dev14.Only happens on release builds with...

View Article


Edited Issue: websocket client tests - appverifier error during test dll...

Reproduces running websocket client desktop tests under AppVerifier when run in the debugger. It appears to be an issue with the test dll and so not an actual product bug.__However__ since we use...

View Article


Edited 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 Article

Edited Issue: datetime - dev14 swscanf_s doesn't fill the month [311]

This makes the following two test cases fail in datetime.cpp: parsing_dateandtime_basic and parsing_dateandtime_extended.Quickly debugging the problem is swscanf_s is not filling in the month...

View Article

Edited Issue: visual leak detector misses leaks when using with 120 toolset...

As part of our signoff for 2.2.0 release I was playing with the visual leak detector and noticed it doesn't detect leaks for some reason with our binaries for Visual Studio 2013. This needs more...

View Article


Edited Issue: http_client - set_nativehandle_options leaks memory if...

The test case set_user_options_exceptions shows leaks under the WinRT version when run under the visual leak detector.This is low impact as most users don't use the feature and they would have to throw...

View Article

Edited Issue: iOS - websocket client tests AV/segfault in simulator [316]

Not sure if it has to do with the iOS simulator or not yet, but it happens almost immediately on the tests regardless if debug or release.For now the websocket client tests are excluded from the iOS...

View Article

Edited Issue: samples - WindowsLiveAuth is disabled from build [232]

Not sure why this isn't included in the build but the WindowsLiveAuth sample should be<!-- Disabled for now, because this project doesn't support rebuild and clean targets.<ItemGroup...

View Article


New Post: http_client failing to parse a JSON string

Hi Steve, I don't think this is a JSON parse problem, I think it is a problem of the HTTP client. When the response is a valid JSON returning "Hello", it looks like the HTTP client, perhaps...

View Article


New Post: Saving http_request.body() to file

I'm trying save raw body of POST request (using http_listener), but calling: request.body().read_to_end(stream.streambuf()).wait(); never returns; my test code: void processPost(http_request...

View Article

Updated Wiki: Use on Android

How to use the C++ REST SDK on Android (2.3+) The easiest way to use the C++ REST SDK on android is to add the "C++ REST SDK - Android" NuGet package available via Visual Studio 2015 (including the...

View Article

New Post: Linker Errors on Android

Hi luisfeliu, We should be only referencing and linking against libstdc++; there should be no references to libc++ at all. Just to confirm: you are using the static library version of Casablanca...

View Article

New Post: How to build CPPRest 1.0 on MAC

Hi all,I done using CPPRest 1.0 on Windows. Now I want to use on MAC.I clone code from server and build successfully by Xcode 5.0.2 on Mac 10.8.5 but the lastest version was built by -std=c++11 and my...

View Article


New Post: How to build CPPRest 1.0 on MAC

Hi coiphim, C++ Rest SDK version 1.0 does not support OSX. Also, all versions of the C++ Rest SDK require -std=c++11. What is preventing you from upgrading to the most recent version (2.3) and...

View Article

New Post: Linker Errors on Android

Unfortunately, the issues with x86 will not result in a failure to link. Instead, your shared object file will be mysteriously unable to load at runtime due to missing symbols (assuming you're using...

View Article


Created Unassigned: [android] Unittestpp has dependancy upon cpprest [324]

When compiling for android, we use the symbol [TestRunner.cpp:51]```namespace crossplat {extern std::atomic<JavaVM*> JVM;}```to access the JVM from inside the unit test framework. This symbol is...

View Article

New Post: Linker Errors on Android

I have not tested the x86 code yet so thanks for the info. Our project is more compatible with libc++. Setting APP_STL to gnustl_static would require significant changes to our project code to make it...

View Article


New Post: POST method syntax

Hello Steve, Saw you video on using C++ to connect to a web service on you-tube. Very helpful. Thanks.. My question is, from the code or set up on the you-tube video, how can i send a file or its...

View Article

New Post: http_client_config and Platform Toolset v120_xp

Did you try defining CPPREST_TARGET_XP in your project Preprocessor Definitions?

View Article

Commented Issue: Casablanca hangs my app when unloaded [309]

Hi, Am trying to use Casablanca as a dll in another third party exe on Windows 7. Everything works fine, except when closing the socket and unloading the dll. My close function is as follows```void...

View Article
Browsing all 4845 articles
Browse latest View live