Nitin I am implementing CURLOPT_TIMEOUT= (30L * 60L) seconds, CURLOPT_FTP_RESPONSE_TIMEOUT=(2L * 60L) seconds, CURLOPT_CONNECTTIMEOUT=(2L * 60L) seconds My transfers are one file at a time, file size is 9Mbytes to 14Mbytes. These settings seems to work fine. Avi Manor Airspan Networks Inc.
-----Original Message----- From: curl-library [mailto:[email protected]] On Behalf Of [email protected] Sent: Tuesday, August 07, 2012 9:52 AM To: [email protected] Subject: curl-library Digest, Vol 84, Issue 13 Send curl-library mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-library or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of curl-library digest..." Today's Topics: 1. Re: sws test server with --fork (Guenter) 2. Re: sws test server with --fork (Daniel Stenberg) 3. RE: sws test server with --fork (Joe Mason) 4. RE: curl_multi_perform returns CURLM_OK even if the easy handle connection is failed (Pingzhong Li) 5. RE: sws test server with --fork (Joe Mason) 6. Re: sws test server with --fork (Guenter) 7. RE: sws test server with --fork (Daniel Stenberg) 8. Curl Timeout setting (Nitin Kumar Saxena) ------------------------------ Message: 8 Date: Tue, 7 Aug 2012 10:58:09 +0530 From: Nitin Kumar Saxena <[email protected]> To: "[email protected]" <[email protected]> Cc: Manisha Nasa <[email protected]> Subject: Curl Timeout setting Message-ID: <cd8eef437bff0244aff6b6eab87eb45789898...@indiambx01.corp.adobe.com> Content-Type: text/plain; charset="us-ascii" Hello, I am using libcurl to transfer files server to client that ranges in size from few MB's to few GB's. Depending on network speed it can take multiple minutes to transfer a file. The server response comes in chunks. Also if the Server is slow, it will send a 5xx response after 300 secs. I only need to detect network drop in between a curl transfer. At first, I used CURLOPT_TIMEOUT but it seems to consider complete transfer time(which is indeterminate in this case and can take multiple minutes) rather than time in between two response chunks. Is there any libcurl option to detect netwrk drop and solve this issue ? Regards, Nitin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://cool.haxx.se/pipermail/curl-library/attachments/20120807/f5d52969/attachment.html> ------------------------------ Subject: Digest Footer _______________________________________________ curl-library mailing list [email protected] http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-library ------------------------------ End of curl-library Digest, Vol 84, Issue 13 ******************************************** ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
