https://bz.apache.org/bugzilla/show_bug.cgi?id=70247
Bug ID: 70247
Summary: HTTP/2: unread request body is never returned to the
connection flow control window
Product: Tomcat 11
Version: 11.0.25
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Connectors
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: -------
Created attachment 40218
--> https://bz.apache.org/bugzilla/attachment.cgi?id=40218&action=edit
Patch file for reproducer and proposed fix
NOTE: The diagnosis and reproducers were made using an AI agent, but this is
linked to a real world problem, encountered in a production workload.
Impacted Tomcat versions:
- 11.0.26
- 10.1.59
Context:
Our infra setup is:
Client <-> Traefik on K8S <-- HTTP/2 --> Tomcat (Spring Boot apps).
On a portfolio feature, we have many upload requests (POST/PUT) for various
size assets. Randomly, the connection between Traefik and Tomcat gets stuck.
All worker threads are unable to make progress until a 20 second timeout.
You'll find attached a reproducer + proposed fix for Tomcat 11, based on the
diagnosis made by the agent.
This was reviewed, but I'm clearly not an HTTP/2 expert so I really can't
challenge the fix.
Hope this helps,
Guillaume Darmont.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]