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

Closed 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


Commented Issue: Unloading the dll crashes the process [233]

I am using the 2.1.0 with the WebSocket support only.I wrapped my code (a plugin) within a dll that talks using websocket.- load my dll and casablanca dll in memory using LoadLibrary- use the websocket...

View Article


Closed Issue: Unloading the dll crashes the process [233]

I am using the 2.1.0 with the WebSocket support only.I wrapped my code (a plugin) within a dll that talks using websocket.- load my dll and casablanca dll in memory using LoadLibrary- use the websocket...

View Article

Updated Release: C++ Rest SDK 2.4.0

OAuthFixed memory leak with OAuth 1 in the success case. #321websocket_clientAdded a new websocket_client class, websocket_client_class, that supports using callbacks instead for receiving messages and...

View Article

Edited Issue: http_client - boost client hangs if an error is reported during...

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 Article


New Post: Exception on Wait()

Hi, I am having an issue with using wait, get etc. Basically anything that makes an Async call sync. I have a windows mobile 8.1 project in C#. We are using C++ for common functionality across platform...

View Article

New Post: Exception on Wait()

If i step through the "Wait()" code it generally works. Is it around thread safety in Windows Runtime Component?

View Article

New Post: Equivalent to HttpUtility.UrlEncode

Hi Pedro, Somehow this discussion slipped by my radar a bit here and went unanswered, sorry :). Yes our encoding APIs always encode a space character as %20, which is correct according to RFC 3986. We...

View Article


Created Issue: http_listener - read_to_end on request body into file stream...

Reported from the following discussion:http://casablanca.codeplex.com/discussions/573976#post1328648I am able to reproduce on Ubuntu 64bit debug as well, see my forked repository in branch...

View Article


New Post: How to build CPPRest 1.0 on MAC

thank Roschuma so I need to try with other sdk because my project is big project from adobe therefore change to -std=c++11 not good way. thanks,

View Article

New Post: Saving http_request.body() to file

Hi arekmarud, I wrote a test similar to what you describe and indeed encounter the bug using Ubuntu 64bit debug. I've opened a bug on Codeplex to track this. For now a workaround is to use...

View Article

Commented Issue: http_listener - read_to_end on request body into file stream...

Reported from the following discussion:http://casablanca.codeplex.com/discussions/573976#post1328648I am able to reproduce on Ubuntu 64bit debug as well, see my forked repository in branch...

View Article

New Post: Interesting code in http_client.impl.h, pass by value of objects

Hi G, Yes I think a 'mess' of premature optimization and layer complexity has occurred here. What should really be done is just have the constructor take by const reference and avoid all these...

View Article


New Post: Interesting code in http_client.impl.h, pass by value of objects

Hi Steve, Yes passing by const& will solve for the moment this issue. The alternative will be to create as you said, move constructors(&&) for all objects involved. I kind of like this new...

View Article

Commented Unassigned: Access violation when creating an http_client with...

I encountered an access violation when trying to use authentication for a client. Here is my code: http_client_config config; config.set_credentials(credentials(L"test", L"test")); http_client...

View Article


New Post: Exception on Wait()

Hi nate78, Are you calling wait() on the UI thread? If so that could be your problem, in the WIndows Runtime waiting on a task throws an exception. If you instead hook up a continuation and process the...

View Article

Created Unassigned: 2.3.0 : https connection leak under Linux [326]

Tried to upgrade from 2.2 to 2.3 with Linux 64 bits, however it appears that linux connection pool is not destroyed. I recompiled boost 1.57 and cpprest 2.3.0 with gcc 4.9 (I had to remove "-Werror" in...

View Article


Commented Unassigned: Access violation when creating an http_client with...

I encountered an access violation when trying to use authentication for a client. Here is my code: http_client_config config; config.set_credentials(credentials(L"test", L"test")); http_client...

View Article

New Post: http_client_config and Platform Toolset v120_xp

Hi cbogdan, I think there actually is an issue here. Our NuGet package should take care of automatically defining CPPREST_TARGET_XP for you if you are using one of the toolsets targeting XP. I just...

View Article

New Post: POST method syntax

Hi Steven, I'm not sure which version you are using but in 2.3.0 we added some overloads on Windows to work with UTF-8 strings with the http_client using the correct http_client::request overload. It...

View Article
Browsing all 4845 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>