On Mon, Sep 19, 2011 at 12:09 PM, Thomas Karolski <[email protected]> wrote:
> Hello everybody,
>
> I would like to know whether it is possible to use a single async HTTP
> client for more than one request. If so, is it furthermore possible to
> issue a new request from the callback which is passed to the get
> function?

Yes you can use a single async HTTP client for more than one request.

I have not tried whether it's possible to start another request from
within the streaming callback handler. I would imagine it should be
unless you're doing something funny.

> The reason why I'm asking, is because for some reason I get thread
> resource exceptions - as if the async thread were not being destroyed
> after the callback has been invoked with an eof status.
>
> Anyone who could help me out here?
>

How does your code look like?

Cheers

-- 
Dean Michael Berris
http://goo.gl/CKCJX

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Cpp-netlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel

Reply via email to