Dear all, Here
http://codeviewer.org/view/code:5392 you can find the code I'm asking your help about. It's the Hello example from the wt-3.3.4 tree, expanded with the sample code of the Wt Http Client from the documentation. At line 91, there's a commented out call to a std::async. That call is meant as an alternative mechanism to the direct call at line 96. The problem is that this code never gets the Http response (same thread as the Wt main loop), while the std::async call (offloading the http part to another thread) correctly retrieves and prints the blog content. Please note that both pattern obviously get to the "REQUEST SENT" part. Is there any problem with using the http client in the wt main loop? Or am I doing anything else wrong? Thanks a lot, Antonio ------------------------------------------------------------------------------ _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest