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 20938] - Missing Content-Length header causes a SocketException
Date Fri, 20 Jun 2003 09:25:19 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=20938>.
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=20938

Missing Content-Length header causes a SocketException





------- Additional Comments From olegk@apache.org  2003-06-20 09:25 -------
Adrian,
I do not like that darn 'isChunked' flag. Besides, you forget to reset it in
HttpMethodBase#recycle. (I DO get convinced that the whole idea of recycling is
evil after all).

I suggest that you just check for presence of 'Transfer-Encoding' or
'Content-Length' header in response. That is it. Do not even parse them. We can
assume that the headers will be correctly reacted upon elsewhere.

Oleg

Mime
View raw message