https://issues.apache.org/bugzilla/show_bug.cgi?id=50189

           Summary: AJP connector sends GET BODY CHUNK when reading after
                    response closed
           Product: Tomcat 5
           Version: 5.5.23
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connector:AJP
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: jrop...@gmail.com


If a servlet (probably incorrectly) closes the writer/outputstream of a
response, and then attempts to read from the request, the AJP connector sends
GET BODY CHUNK to the mod_jk worker.

This then starts a series of very confusing communication between the worker
and tomcat.  The worker doesn't read it until it makes its next request.  After
making its next request, it reads it, and then sends a response with 0 length. 
At the same time, Tomcat responds to the request made by the worker with
another GET BODY CHUNK, which the worker also responds with a message of 0
length.  Then the really weird thing happens, Tomcat replays the first request
made by that worker.  At this point, based on what I'm looking at with tcpdump,
I get too confused to work out exactly what is happening.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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