RE: FTP keep alive connection
Date: Mon, 5 Nov 2007 18:52:30 +0100
Michel Loiseleur wrote:
> In one sentence, this patch add a small feature to curl during ftp
transfer : it sends "NOOP" message in order to keep connection alive.
I think it must be an option, since this is not guaranteed by RFC959 to
be properly processed by all servers.
If the goal is only to keep a firewall alive (but not the FTP server
itself), I would prefer to use setsockopt(SO_KEEPALIVE), because only
housekeeping data are exchanged (no TCP payload).
Received on 2007-11-05