You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by GitBox <gi...@apache.org> on 2021/08/23 15:27:09 UTC

[GitHub] [tomcat] pirateskipper commented on a change in pull request #277: Refuse adding invalid HTTP 2.0 headers

pirateskipper commented on a change in pull request #277:
URL: https://github.com/apache/tomcat/pull/277#discussion_r694075997



##########
File path: java/org/apache/coyote/Response.java
##########
@@ -435,6 +435,20 @@ private boolean checkSpecialHeader( String name, String value) {
                 return false;
             }
         }
+
+        if (outputBuffer instanceof Http2OutputBuffer && name.equalsIgnoreCase("Connection") ) {

Review comment:
       `if (outputBuffer instanceof Http2OutputBuffer && "Connection".equalsIgnoreCase(name) ) {`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org