cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1826056 ] Keep tcp connections alive

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Mon, 05 Nov 2007 05:53:40 -0800

Bugs item #1826056, was opened at 2007-11-05 13:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1826056&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: ftp
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Michel Loiseleur (mloiseleur)
Assigned to: Daniel Stenberg (bagder)
Summary: Keep tcp connections alive

Initial Comment:
When retrieving a ftp file, curl do not ensure that the control socket is alive during time.

If one download a big file, the connection could be close close before completion : A firewall or a router has close the connection, because it seems inactive.

A common answer to this problem is to send "NOOP" command, in order to keep the connection up.

The attached patch, made against official curl 7.17.1, is a first attempt to get this feature into curl.

Would you please review it ?

I didn't know how to include it proprely with other options so I kept, for the moment, the timeout parameter directly in the function.

Regards,

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1826056&group_id=976
Received on 2007-11-05

These mail archives are generated by hypermail.

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

File upload with ASP.NET