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 24560] - HttpClient loops endlessly while trying to retrieve status line
Date Thu, 13 Nov 2003 13:40:25 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=24560>.
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=24560

HttpClient loops endlessly while trying to retrieve status line





------- Additional Comments From ck@rrzn.uni-hannover.de  2003-11-13 13:40 -------
Oleg, 
 
thank you for compliments :) 
 
I also think that it is quite important for a HTTP client to have a bundled, 
tiny HTTP server for testing. 
 
Unfortunately, at the moment, I do not have the time to dig that deep into 
HttpClient's test cases. However, I provide a simple HTTP server framework, 
where you can construct the replies yourselves (anyone interested in?) 
 
By default, the SimpleHttpServer does nothing but throwing a "503 Service 
Unavailable" until you extend it with your own request handlers. 
 
One is provided in the new TestBadContentLength. Another one is a handler 
chain, where multiple handlers can be stacked up, even to very complex 
structures (chains of chains). The chain stops on the first handler that 
writes to the given output stream. 
 
By the way: It is not very well tested, just give it a try. 
 
 
Christian

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Mime
View raw message