|
|
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 08:54:01 -0800
Bugs item #1826056, was opened at 2007-11-05 13:53
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
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,
----------------------------------------------------------------------
>Comment By: Michel Loiseleur (mloiseleur)
Message:
Ok. Thanks for your comment. We'll pursue review on mailing list.
----------------------------------------------------------------------
Comment By: Daniel Stenberg (bagder)
Message:
Thanks for your contribution!
First, this isn't actually a bug. It is like this by design. So, I'd like
A few quick comments on the patch:
#1 - no need to include changes to the .Plo files, they're generated
#2 - the "int FTP_TIMEOUT" is a C99ism and we need C89 compliance (all
#3 - The module check for the time spent is not really a timeout and it
Now, I'll close this bug report. Please take follow-ups to the mailing
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info