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

--- Comment #6 from Remy Maucherat <r...@apache.org> ---
The patch that added additional special case handling to available() seems
fine:
https://github.com/apache/tomcat/blob/main/java/org/apache/coyote/http11/filters/ChunkedInputFilter.java#L202

However, while it handles ParseState.CHUNK_BODY_CRLF, it does not do
CHUNK_HEADER or others, which might similarly not produce content. So I wonder
if your "regression" could simply be a bad luck due to not doing everything.
Hard to know without a test.

I am considering that available() should actually process existing data in the
buffer (and add a throws IOE) to properly determine if there is actual data.

-- 
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

Reply via email to