https://bz.apache.org/bugzilla/show_bug.cgi?id=68026
--- Comment #6 from lucas.pou...@lpoconseil.fr ---
Thanks for your quick fix.
But if you call toStringType() and after toString() method, your toString()
method has not the same result because type attribute has been updated. Maybe
it's necessa
https://bz.apache.org/bugzilla/show_bug.cgi?id=68026
Mark Thomas changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://bz.apache.org/bugzilla/show_bug.cgi?id=68026
--- Comment #4 from Mark Thomas ---
Changes to the behaviour of MessageBytes has previously introduced subtle bugs.
I am therefore extremely reluctant to make the changes suggested in comment #0
or comment #3.
Caching the values as suggested i
https://bz.apache.org/bugzilla/show_bug.cgi?id=68026
--- Comment #3 from lucas.pou...@lpoconseil.fr ---
Or maybe just update with this code to keep the behaviour described in the
getType() Javadoc ?
public void setBytes(byte[] b, int off, int len) {
byteC.setBytes(b, off, len);
https://bz.apache.org/bugzilla/show_bug.cgi?id=68026
--- Comment #2 from lucas.pou...@lpoconseil.fr ---
Maybe, it's possible to cache in the caller ?
https://github.com/apache/tomcat/blob/main/java/org/apache/catalina/connector/Request.java
For all coyoteRequest.*.toString() calls ?
--
You are
https://bz.apache.org/bugzilla/show_bug.cgi?id=68026
Remy Maucherat changed:
What|Removed |Added
Severity|regression |enhancement
--- Comment #1 from Remy
https://bz.apache.org/bugzilla/show_bug.cgi?id=68026
lucas.pou...@lpoconseil.fr changed:
What|Removed |Added
CC||lucas.pou...@lpoconseil.fr
https://bz.apache.org/bugzilla/show_bug.cgi?id=68026
lucas.pou...@lpoconseil.fr changed:
What|Removed |Added
Component|Servlet |Catalina
--
You are recei
https://bz.apache.org/bugzilla/show_bug.cgi?id=68026
lucas.pou...@lpoconseil.fr changed:
What|Removed |Added
Severity|normal |regression
Prior