Re: FTP keep alive connection
Date: Tue, 06 Nov 2007 22:43:23 +0100
Dan Fandrich a écrit :
> On Tue, Nov 06, 2007 at 08:33:08PM +0000, Jamie Lokier wrote:
>> FTP servers implement a timeout by closing the connection when they
>> haven't received a command for some time. (Though some of them seem
>> to timeout even if they have, strangely.)
>> SO_KEEPALIVE by the client won't change that. The server still won't
>> receive anything that's noticed by the application, and it will still
>> close the connection after that time.
> But hopefully, the server won't close the control connection while in the
> middle of sending a file. That's the situation where this is needed most--
> a NAT closing the control connection while a file in being transferred.
This is exactly my use case :).
Received on 2007-11-06