cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: reply to all: CURLE_OPERATION_TIMEDOUT when FTP upload with large files

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 2 Jun 2009 09:03:00 +0200 (CEST)

On Tue, 2 Jun 2009, Michael Wood wrote:

>> then there's not a lot your app or libcurl can do. You'd need to make some
>> kind of work around in your app to make sure the transfers are always
>> shorter than the timeout period.
>
> What about using CURLOPT_SOCKOPTFUNCTION to set SO_KEEPALIVE on the
> connection? Or is this already done by default?

Ah, stupid me. That's of course one of the first things to do, indeed.

Even though the exact timeout that that'll provide will differ between
platforms and some (at least oldish) systems will have that inconveniently
long by default.

-- 
  / daniel.haxx.se
Received on 2009-06-02

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET