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

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #3 from Mark Thomas <ma...@apache.org> ---
This is an application bug, not a Tomcat bug.

Reviewing the logs shows the following:
- the problems start in stream 55
- the request is processed correctly
- a 304 response is sent

So far, so good. Note that as per the HTTP specs (see RFC 9110, section 15.4.5)
304 responses cannot contain a response body.

At this point the application attempts to send a response body. That triggers
error handling that results in the closure of the HTTP/2 connection. Arguably,
Tomcat could handle this differently and ignore the attempt to write the body
or throw an IllegalStateException or similar but that is only working around
the application misbehaviour.

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