Created Issue: live_client throw exception from listener [109]
There was an exception from the listener, resulting in " This page can’t be displayed" error in the browser after successful login. Sometimes this exception bubbles up to the client and kills the...
View ArticleEdited Issue: live_client throw exception from listener [109]
There was an exception from the listener, resulting in " This page can’t be displayed" error in the browser after successful login. Sometimes this exception bubbles up to the client and kills the...
View ArticleNew Post: Xcode and Casablanca
Just a heads up, that you can also use cmake -g Xcode to generate xcodeproj compatible with Xcode if you want to play with Casablanca in Xcode. More info How to use Xcode with almost any C++ project
View ArticleNew Post: Listener recieving binary data on post
I am in the process of writing a little listener service that recieves a binary file on a post. I see that http_request::body generates a concurrency stream that can be used to retrieve the values, but...
View ArticleNew Post: safeint3.hpp syntaxerror when building project with casablanca
Hi hoffmeij I tried the same setup, Win 7 + Visual Studio Express for Desktop 2013. However I don't see these build errors. Do you see the build failure if you are using a default Win32 Console...
View ArticleNew Post: Getting INET_E_RESOURCE_NOT_FOUND error
Hi Can you confirm if the Internet Client capability set in the package.appxmanifest? Are any of the other capabilities set? Also, are all HTTP requests failing, using cpprest http_client? Could you...
View ArticleNew Post: safeint3.hpp syntaxerror when building project with casablanca
Thank you for your reply and your effort. When i have a default package theres no build error. So i dont really know why but the build errors now disapeared when i included the casablanca stuff before...
View ArticleNew Post: Listener recieving binary data on post
Using message.extract_vector().get(); gets the entire contents from the http_request type message.
View ArticleNew Post: Listener recieving binary data on post
Hi Nagendra17, Yes you can use extract_vector/extract_string/extract_json. You also can use http_request::body() to get access directly to the underlying stream. This can be helpful for streaming...
View ArticleNew Post: How sessions are handled in listener
Hi Nagendra17, The underlying sessions and connections aren't currently exposed to users, so there isn't a public API for retrieving a session id or setting the maximum number of sessions. Both of...
View ArticleCreated Unassigned: Allow users to configure maximum number of simultaneous...
To allow users to better control the use of CPU resources, and memory resources, please give them a knob where they can set the maximum number of simultaneous sessions and threads.
View ArticleNew Post: How sessions are handled in listener
I have created the request. Is the class constructor that has the methods bound to GET, POST etc. called every time there is a new session or only once at startup?
View ArticleCommented Unassigned: Allow users to configure maximum number of simultaneous...
To allow users to better control the use of CPU resources, and memory resources, please give them a knob where they can set the maximum number of simultaneous sessions and threads.Comments: Nagendra17...
View ArticleEdited Feature: http_listener - Allow users to configure maximum number of...
To allow users to better control the use of CPU resources, and memory resources, please give them a knob where they can set the maximum number of simultaneous sessions and threads.See related...
View ArticleNew Post: safeint3.hpp syntaxerror when building project with casablanca
Hi hoffmeij Glad that the errors have now disappeared. If you run into this issue again, do share a simple repro and we can dig deeper. Thanks Kavya
View ArticleNew Post: How sessions are handled in listener
Hi Nagendra17, I don’t understand what you are asking, can you please provide some detail? Specifically what class’s constructor are you talking about? The http_request class? Steve
View ArticleNew Post: How sessions are handled in listener
I defined my class as follows: class GenderClassifier { public:GenderClassifier(utility::string_t url, GenderIdOptions gender_id_options); pplx::task<void> open() { return m_listener.open(); }...
View ArticleNew Post: How sessions are handled in listener
Hi Nagendra17, I think you have some confusion somewhere about lifetime or usage of the http_listener. So you have an http_listener object as a member variable on your class GenderClassifier. Although...
View ArticleCommented Feature: http_listener - Allow users to configure maximum number of...
To allow users to better control the use of CPU resources, and memory resources, please give them a knob where they can set the maximum number of simultaneous sessions and threads.See related...
View Article