tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 50748] Ignoring setContentLength( ) when using writer is incomplete
Date Wed, 09 Feb 2011 22:40:50 GMT

Mark Thomas <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Mark Thomas <> 2011-02-09 17:40:44 EST ---
This fixed in 7.0.x and will be included in 7.0.9 onwards.

Both single and multi-byte encodings are handled since OutputBuffer.close()
sets the content-length to the number of bytes, not the number of characters.

I suspect the test in the response dates from a time when content length was
set using characters although I haven't done the code archeology to be sure of

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message