harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Weimer ...@deneb.enyo.de>
Subject Re: RI's bug of Socket.getOutputStream().write(byte[]) ?
Date Sat, 15 Jul 2006 19:15:22 GMT
* Tim Ellison:

>> 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?

Yes, the important point is that the client does not send any data.

Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org

View raw message