Florian Weimer wrote:
> * Tim Ellison:
> 
>> Thanks Florian, I need to go back and read Steven's more closely ;-) .
>> I have no doubt you are correct, but have never seen a close overtake
>> the data -- we should of course do it right.
> 
> Hmm, I think I was wrong.  The scenario I had on mind can only occur
> if the client also sends some data which is still in transit when the
> server closes the connection.  In this case, the server sends an RST
> when that data arrives, and some clients discard all pending the data
> they receive the RST.

Yes, of course, but in this case the sender is doing the close(), so
reading until -1 should be safe, right?

Regards,
Tim

-- 

Tim Ellison ([EMAIL PROTECTED])
IBM Java technology centre, UK.

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to