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 21378] - Transfer-Encoding: identity not supported + possible patch
Date Tue, 08 Jul 2003 13:19:16 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=21378>.
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=21378

Transfer-Encoding: identity not supported + possible patch





------- Additional Comments From becke@u.washington.edu  2003-07-08 13:19 -------
We should probably set forceCloseConnection when there is no content length or
transfer encoding, but there is a response.  The following case from
readResponseBody():

  if (expectedLength == -1) {
      if (canResponseHaveBody(statusLine.getStatusCode())) {
          result = is;            
      }
  }

We can then remove the test for no transfer encoding and missing content length
in shouldCloseConnection().

Mike

Mime
View raw message