[Bug 64144] Add an option for rejecting requests that have both CL and TE

2022-11-25 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64144

Mark Thomas  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #1 from Mark Thomas  ---
I'm going to mark this as fixed even though we haven't implemented the option
requested here.

The approach implemented in Tomcat is that if a request uses chunked encoding
but also defines a content length then:
- the content length is removed
- keep-alive is disabled

This allows the current request to complete as per the HTTP spec but prevents
against misbehaving 3rd party components (that may trigger request smuggling)
since disabling keep-alive prevents any request smuggling occurring.

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



[Bug 64144] Add an option for rejecting requests that have both CL and TE

2020-02-14 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64144

Violeta Georgieva  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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org