On 2/14/2007 6:21 PM, Tony Finch wrote:
On Wed, 14 Feb 2007, Eric A. Hall wrote:
Generally speaking though, I think the bis-bis update to SMTP
probably ought to implement something like "final reply ought to have
its own write() if possible" as a way for receivers to detect that
client has lost connection to the server.
How is that supposed to help? If the client receives the reply then
goes idle, the server will hand around until its SMTP timeout ends.
If the write fails then the client wouldn't have received it.
If the client has dropped off the net then the server's write will be
buffered in the kernel and TCP retries will continue until the server's
SMTP timeout ends.
Yeah this and other things are problematic. OTOH it's better than the
nothing that we have now.
Eric A. Hall http://www.ehsco.com/
Internet Core Protocols http://www.oreilly.com/catalog/coreprot/