Date: 12 Jul 2000 11:30:56 +0200 From: Dag-Erling Smorgrav <des@flood.ping.uio.no> To: asami@freebsd.org (Satoshi - Ports Wraith - Asami) Cc: ports@freebsd.org Subject: Re: fetch(1) timeout Message-ID: <xzp4s5v7l0v.fsf@flood.ping.uio.no> In-Reply-To: asami@freebsd.org's message of "12 Jul 2000 02:12:40 -0700" References: <xzp8zv77mhp.fsf@flood.ping.uio.no> <vqchf9vsodz.fsf@silvia.hip.berkeley.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
asami@freebsd.org (Satoshi - Ports Wraith - Asami) writes: > Adding a timeout value is fine, but isn't 60 seconds a tad too short? :) I don't think so; the timeout value only applies to time spent waiting for data from the server in command mode, not to total time spent fetching the file. Receipt of any data at all from the server resets the timeout, so if the server spends 40 seconds reacting to the PASV command, and then 40 seconds reacting to the RETR command, libfetch will not time out, even though the total exceeds 60 seconds. DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp4s5v7l0v.fsf>