New Post: Simple Listener Program Faulting on Linux
Hi BSalita, Quickly looking at your code I notice you are not waiting on the listener.close() operation to complete. This function is asynchronous and the close won't be finished before you start...
View ArticleNew Post: Casablana DLL and different compiler versions
Hi, You are correct. We use STL components in our binary interface, which means you need to recompile for each Visual Studio release. Our NuGet package provides both VS 2012 and VS 2013 binaries for...
View ArticleNew Post: linux_compact.h typedef unsigned long DWORD conflict with sqltypes.h
@gt227: I don't think Casablanca should define DWORD anywhere for Linux, because this is a Windows type. (I think we needed it at some point, but then cleaned things up and forgot to remove the...
View ArticleReviewed: C++ REST SDK 2.0.1 (июн 06, 2014)
Rated 4 Stars (out of 5) - I only wait for WP 8.1 support. NuGet package installed was successfully but did link. (
View ArticleNew Post: Simple Listener Program Faulting on Linux
I tried with and without wait() before posting. With close().wait(), the program hangs forever. So I guess the problem is in close()? I'm surprised that there's nothing obviously wrong. All the...
View ArticleNew Post: linux_compact.h typedef unsigned long DWORD conflict with sqltypes.h
Hi, I changed this:typedef unsigned long ULONG; typedef unsigned short WORD; typedef unsigned long DWORD; to this:typedef unsigned long ULONG; typedef unsigned short WORD; ///typedef unsigned long...
View ArticleNew Post: How to evict a TCP connection in pool ?
Hi momaison, We don't currently have an option for doing this. I understand what your saying, but have you actually seen this happen in practice? If the server closes the connection when responding...
View ArticleNew Post: linux_compact.h typedef unsigned long DWORD conflict with sqltypes.h
Thanks, I checked the fix into the development branch.
View ArticleUpdated Wiki: Running Leak Detection
For each release signoff here are the instructions on how to run leak detection:Download Visual Leak Detector: https://vld.codeplex.com/releases # If a new project or a new public feature was added...
View ArticleClosed Unassigned: avoid using exceptions for json parsing in...
If possible, I'd like to avoid use of exceptions when parsing JSON payload.If for no other reason, this makes debugging extremely annoying (I debug with exceptions ON).See my...
View ArticleNew Post: Using http_request for a POST request that uploads a file
Hi, Sorry for the (very) slow response, I was pulled off of this for a while. Thanks for your help. I looked at the test cases you linked to, but I don't see where you would give the server a file name...
View ArticleCreated Unassigned: Need to add Oauth1Client120 and Oauth2Client120 [187]
Samples Oauth1Client and Oauth2Client only compile with Dev11, need to add Dev12 project files.As it stands now, dev12 build is broken:```"C:\git_projects\casadev\Release\dirs.proj" (rebuild target)...
View ArticleCreated Issue: fix appverifier error for winsock initialization from DllMain...
Websockets uses boost asio. And asio has a Static variable to ensure that winsock is initialised before main. Looks like in case of a dll, it may not be safe to initialise Winsock from global object...
View ArticleNew Post: Simple example, of documentation to access http server with basic...
Hello, I'm trying to download a file from a server that uses username and password to limit access to its resources. I've reviewed the examples for Facebook and Windows live, but I think that they are...
View ArticleNew Post: Simple Listener Program Faulting on Linux
Some interesting findings on Linux. I'm not sure what it means. If I use curl, the program displays "Hello World!' and can terminate normally.> curl "http://192.168.1.111:3901" Hello World! If I...
View ArticleCreated Issue: potential memory leaks in streams file I/O [189]
I still haven’t figured out in the non-error path who is responsible for deleting this buffer. One immediate problem is we allocate a buffer on the heap in many places like the following in...
View ArticleNew Post: CPP Rest SDK, Build errors while building my project
Hello, After I added CPP Rest SDK to my project (C++ project) using NuGet in Visual Studio 2010, I tried to build my project, but i get the following errors in streams.h file Error 117 error C2065:...
View ArticleNew Post: CPP Rest SDK, Build errors while building my project
Hi mohamedselim, We don't support Visual Studio 2010 any more, only 2012 and 2013. If you can't upgrade to a newer version of Visual Studio yet you can use an older version of the C++ Rest SDK. The...
View ArticleNew Post: CPP Rest SDK, Build errors while building my project
Hi Steve, Thanks for your "fast" reply, appreciated. I removed the latest version using NuGet. I installed version 1.2, added the include folder to my additional include directories, however, I'm still...
View Article