This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new a7ca52038f Wrap long line
a7ca52038f is described below
commit a7ca52038f94920f9844dae14e730d9f1855f8db
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 4f5f223318..24124333a4 100644
--- a/java/org/apache/coyote/http11/Http11Processor.java
+++ b/java/org/apache/coyote/http11/Http11Processor.java
@@ -340,7 +340,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]