Re: two-phase send concerns

rg@server.net (Roger Gonzalez) wrote:
[...]
>>From my experience, it seems like Larry is correct; the server -does-
>need to hold the connection open.  Otherwise, (and I'm guessing this
>is due to a poor TCP implementation) as soon as the client sends a
>single byte on a closed connection, a TCP reset occurs, and the abort
>data is -lost- to the client, even though it physically went out on
>the wire.  I've watched this happen with a sniffer.

I can believe this happens.  It's an interesting question what a TCP
implementation should do when a program tries to send to a half-closed
connection.
>
>The big problem from my perspective is that the abort data is often
>quite important.  In particular, the place where I see this happen is
>in a PUT to a location that is unauthorized.  The -only- way I've
>gotten this to work is for the server to hold the connection open
>until the client notices the data to read and closes.

How does the server know the client has noticed the data and closed the
connection?

Dave Kristol

Received on Tuesday, 5 December 1995 20:50:25 UTC