DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13463>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13463

Request/Response race condition when doing multiple requests on the same connection.





------- Additional Comments From [EMAIL PROTECTED]  2003-02-22 00:57 -------
> 6) The connection's InputStream.read() will return -1 and the Method will  
> assume the response is invalid..... 
 
This is incorrect. An InputStream will block until the requested amount of data has 
become available, or the connection is closed (EOF). (See JDK JavaDoc for 
InputStream). 
 
If the socket is still connected on both ends, calling (int)read() on the client end 
will 
block until one byte is available. It will only return -1 on EOF.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to