You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2022/02/03 03:45:55 UTC

[Bug 65866] New: Allow AbstractHttp11Protocol.setMaxHttpHeaderSize to apply to request or response only

https://bz.apache.org/bugzilla/show_bug.cgi?id=65866

            Bug ID: 65866
           Summary: Allow AbstractHttp11Protocol.setMaxHttpHeaderSize to
                    apply to request or response only
           Product: Tomcat 9
           Version: unspecified
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: pwebb@pivotal.io
  Target Milestone: -----

Currently `AbstractHttp11Protocol.setMaxHttpHeaderSize` provides a way to limit
the maximim header size for both the request and the response.

It would be helpful if there was also way to apply the limit to just the
request or just the response.

Having such a method would allow Spring Boot to provided consistent support
across Jetty, Undertow and Tomcat.

For more background see
https://github.com/spring-projects/spring-boot/issues/29382

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 65866] Allow AbstractHttp11Protocol.setMaxHttpHeaderSize to apply to request or response only

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65866

Remy Maucherat <re...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 65866] Allow AbstractHttp11Protocol.setMaxHttpHeaderSize to apply to request or response only

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65866

--- Comment #2 from Christopher Schultz <ch...@christopherschultz.net> ---
Tomcat 7.0.x reached EOL on 31 March 2021[1].

There is no need to back-port your changes to Tomcat 7.

[1] https://tomcat.apache.org/tomcat-70-eol.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 65866] Allow AbstractHttp11Protocol.setMaxHttpHeaderSize to apply to request or response only

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65866

--- Comment #3 from Zhongming Hua <cr...@apache.org> ---
Please review the code first, if there is no problem, I will support this on
other branches as well.
https://github.com/apache/tomcat/pull/501

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 65866] Allow AbstractHttp11Protocol.setMaxHttpHeaderSize to apply to request or response only

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65866

Remy Maucherat <re...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Remy Maucherat <re...@apache.org> ---
The enhancement will be in Tomcat 10.1.0-M15, 10.0.21, 9.0.63 and 8.5.79.
Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 65866] Allow AbstractHttp11Protocol.setMaxHttpHeaderSize to apply to request or response only

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65866

--- Comment #1 from Zhongming Hua <cr...@apache.org> ---
I will make changes to the 8.5.x, 9.0.x, 10.0.x, main branches to support this
feature, but I have a question, do we still need to support 7.0.x?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org