This is an automated email from the ASF dual-hosted git repository.
markt-asf 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 11ae13fb80 Wrap long line
11ae13fb80 is described below
commit 11ae13fb8001408d21c8f9bbd1ee516a828ee73d
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Nov 5 18:05:12 2026 +0000
Wrap long line
---
java/org/apache/coyote/http11/Http11Processor.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/java/org/apache/coyote/http11/Http11Processor.java
b/java/org/apache/coyote/http11/Http11Processor.java
index b28e37260a..53a4cc870e 100644
--- a/java/org/apache/coyote/http11/Http11Processor.java
+++ b/java/org/apache/coyote/http11/Http11Processor.java
@@ -341,7 +341,8 @@ public class Http11Processor extends AbstractProcessor {
// Has an upgrade been requested? An Upgrade header field in an
HTTP/1.0 request must be ignored
// (RFC 9110, section 7.8)
- if (request.protocol().equals(Constants.HTTP_11) &&
isConnectionToken(request.getMimeHeaders(), "upgrade")) {
+ if (request.protocol().equals(Constants.HTTP_11) &&
+ isConnectionToken(request.getMimeHeaders(), "upgrade")) {
// Check the protocol
String requestedProtocol = request.getHeader("Upgrade");
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]