This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new ad5a1b5f2c Additional performance tweak for BZ 68558
ad5a1b5f2c is described below
commit ad5a1b5f2cd374f9315425a2b147b3a10e5800a0
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Feb 12 23:32:06 2024 +0000
Additional performance tweak for BZ 68558
https://bz.apache.org/bugzilla/show_bug.cgi?id=68558
---
java/org/apache/tomcat/util/http/MimeHeaders.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/org/apache/tomcat/util/http/MimeHeaders.java
b/java/org/apache/tomcat/util/http/MimeHeaders.java
index fd4394c882..070a709e82 100644
--- a/java/org/apache/tomcat/util/http/MimeHeaders.java
+++ b/java/org/apache/tomcat/util/http/MimeHeaders.java
@@ -488,7 +488,7 @@ class ValuesEnumerator implements Enumeration<String> {
public String nextElement() {
MessageBytes current = next;
findNext();
- return current.toString();
+ return current.toStringType();
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]