https://issues.apache.org/bugzilla/show_bug.cgi?id=48940
Summary: IIS to Tomcat occasionally fails on POST with T-E chunked header Product: Tomcat Connectors Version: unspecified Platform: PC OS/Version: Windows Server 2008 (Longhorn) Status: NEW Severity: major Priority: P2 Component: isapi AssignedTo: dev@tomcat.apache.org ReportedBy: bgstew...@covad.net This is related to bug 48763. We are experiencing intermittent timeouts of POST requests with transfer-encoding: chunked. These failures occur very frequently after IIS has shutdown ISAPI_Redirect because of a period of inactivity. The next request triggers IIS to restart the redirector, and that request and several more that queue up behind it fail. JK puts the worker in error state. Eventually, the failure gets back to the client. I've done some tracing and this is what I see: - The requests that fail do arrive at the Tomcat. Tomcat times out trying to read the post body. - The failing AJP request messages from ISAPI both a positive content-length and "transfer-encoding: chunked". Ordinary requests don't have the c-l. My guess is, 1) If IIS is able to receive and assemble the chunked body before JK asks for it, IIS reports the actual size instead of -1. 2) This possibly occurs while ISAPI_Redirect is reinitializing because there is time for IIS to build the body before JK needs it. 3) When this occurs, the JK end of the APR connection waits for a get-body-chunk message. The Tomcat APR sees the positive c-l and waits for the free body chunk that non t-e requests send. -- 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