curl-library
libcurl (fwd)
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 14 Jan 2003 11:55:14 +0100 (MET)
Date: Tue, 14 Jan 2003 11:55:14 +0100 (MET)
Forwarding your questions to the appropriate mailing list. Please use the
list, don't mail me privately.
-- Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs. ---------- Forwarded message ---------- Date: Tue, 14 Jan 2003 13:54:35 +0300 From: Konstantin Filatov <kf_at_spacenet.ru> To: Daniel Stenberg <daniel_at_haxx.se> Subject: libcurl Hello, Daniel :) I'm Russian man, and my English is bad. Sorry. I develop a multithread application on Linux platform using libcurl-7.10.2. This library is fine. I have some questions; I didn't find answers for them in curl documentations. Answer me, please. 1. How can I get info about socket connection (ip, port etc.) during the transfer (downloading)? For example, in write_callback. 2. Can I reset timeouts CURLOPT_TIMEOUT and CURLOPT_CONNECTTIMEOUT in new value on the fly? For example, in write_callback or progress_callback. 3. It is not clear for me from documentation: can I use these timeouts in a stable way in my multithread application (with CURLOPT_NOSIGNAL)? If it is not recommended then libcurl is useless for me :( 4. Has libcurl handle pthread-cancellation to abort a thread within curllib? Since curl_perform is a long-time functiion, it is need. I see a way now: progress_callback can return non-zero value if the cancellation is required. Is it a right way? Thank you in advance. Kostantin Filatov ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026enReceived on 2003-01-14