hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 13463] - Request/Response race condition when doing multiple requests on the same connection.
Date Fri, 14 Feb 2003 10:14:17 GMT
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 apernoud@sopragroup.com  2003-02-14 10:14 -------
Thanks a lot Michael, now all errors I said before are gone.

But I have new troubles, about stream being closed, that I didn't have with the 
old httpMultiClient. The fact is my app is parsing the stream (XHTML) with 
Xerces parser, and I have errors I never add before :

java.lang.NullPointerException: 
	at org.apache.commons.httpclient.HttpMethodBase.responseBodyConsumed
(HttpMethodBase.java:2438)
	at org.apache.commons.httpclient.HttpMethodBase$1.responseConsumed
(HttpMethodBase.java:2466)
	at org.apache.commons.httpclient.AutoCloseInputStream.notifyWatcher
(AutoCloseInputStream.java:215)
	at org.apache.commons.httpclient.AutoCloseInputStream.checkClose
(AutoCloseInputStream.java:187)
	at org.apache.commons.httpclient.AutoCloseInputStream.read
(AutoCloseInputStream.java:123)

(and above is called by Xerces Parser reading the stream)

Do you have any idea where it might come from ? It only happens when doing 
multiple simultaneous requests. One user is ok...

I'm still using the nightly from 13/02

Mime
View raw message