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

            Bug ID: 65203
           Summary: Coyote Request not properly recycled after
                    asynchronous error.
           Product: Tomcat 9
           Version: 9.0.44
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: rbeau...@cisco.com
  Target Milestone: -----

Created attachment 37785
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37785&action=edit
Tomcat output with issue replicated. First request behavior is expected and 2nd
show the issue with the request not being recycled.

When an exception is thrown during the execution of an asynchronous request,
all subsequent request that are processed in a ReadListener fail with
the following exception:

Caused by: java.io.EOFException: Unexpected EOF read on the socket
        at
org.apache.coyote.http11.Http11InputBuffer.fill(Http11InputBuffer.java:813)
        at
org.apache.coyote.http11.Http11InputBuffer.access$300(Http11InputBuffer.java:42)
        at
org.apache.coyote.http11.Http11InputBuffer$SocketInputBuffer.doRead(Http11InputBuffer.java:1158)
        at
org.apache.coyote.http11.filters.IdentityInputFilter.doRead(IdentityInputFilter.java:102)
        at
org.apache.coyote.http11.Http11InputBuffer.doRead(Http11InputBuffer.java:248)
        at org.apache.coyote.Request.doRead(Request.java:565)
        at
org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:336)
        ... 16 more

This is caused by the errorException object not being recycled in the
org.apache.coyote.Request class.

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