curl-library
Re: does libcurl support pipeline?
Date: Tue, 9 Sep 2003 23:29:10 +0200 (CEST)
On Tue, 9 Sep 2003, Jerry G. Chiuan wrote:
> I am new in libcurl domain and evaluating its features first of all
Then I'd recommend you to try out the curl-library mailing list, it is target
for the library people! ;-) I'm cc'ing this reply over to that list now.
> I have some basic questions:
> - does it support pipeline? send next request before the response of current
> request is received.
It does not. I'm very interested in seeing support added for this, but I'm not
sure how the API would work for that. Ideas, code and suggestions are welcome!
> - does it support multi-threaded application? can applications hava
> multi-threads which send requests simultaneously?
They can. libcurl is thread-safe, as long as your operating system's function
calls are.
> - If it supports multi-threads, and my application have 2 threads, do 2
> threads use individual TCP connection?
Yes indeed. You can't make them share the connections even if you wanted! ;-)
-- Daniel Stenberg -- curl: been grokking URLs since 1998 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2003-09-10