On 13/01/2022 21:45, Doug Whitfield wrote:
Hi Mark,

In the newly opened bug report about this 
(https://bz.apache.org/bugzilla/show_bug.cgi?id=65773), you noted that logging 
at level FINE would show what is happening.

What exactly are we looking at when it says it “Swallowed [0] bytes”? I can get 
more data, but at this point, I just want to understand the log sample:

Time: 2022-01-12 03:44:42.895, Level: FINE, Logger: 
org.apache.coyote.http2.Http2Parser
org.apache.coyote.http2.Http2Parser swallow
- Connection [54], Stream [2076417], Swallowed [0] bytes

It means that for some reason Tomcat needed to swallow some or all of the payload for a frame and in this instance the payload was empty.

Possible reasons for swallowing (ignoring) the payload include:
- an error exception has occurred and the payload won't be processed
- padding flag has been set (frames can have zero length padding)
- the frame is of an unknown type

If you look further back in the debug trace for that stream the previous messages should identify which this is.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to