Bug 63864 - Use new TokenList parser for Http11Processor Transfer-Encoding handling
Summary: Use new TokenList parser for Http11Processor Transfer-Encoding handling
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 9
Classification: Unclassified
Component: Connectors (show other bugs)
Version: 9.0.x
Hardware: All All
: P2 enhancement (vote)
Target Milestone: -----
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-18 08:50 UTC by Michael Osipov
Modified: 2019-10-29 17:57 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Osipov 2019-10-18 08:50:45 UTC
The Transfer-Encoding header is processed manually (https://github.com/apache/tomcat/blob/master/java/org/apache/coyote/http11/Http11Processor.java#L760-L775), use the newly introduced TokenList parser to reduce duplicate code
Comment 2 Mark Thomas 2019-10-29 17:57:11 UTC
Fixed in:
- master for 9.0.28 onwards
- 8.5.x for 8.5.48 onwards
- 7.0.x for 7.0.98 onwards