https://issues.apache.org/bugzilla/show_bug.cgi?id=47736
Summary: Content-Length Missing Product: Tomcat 6 Version: 6.0.18 Platform: PC OS/Version: Windows XP Status: NEW Severity: critical Priority: P2 Component: Catalina AssignedTo: dev@tomcat.apache.org ReportedBy: neng1...@yahoo.com --- Comment #0 from neng1...@yahoo.com 2009-08-25 11:38:07 PDT --- Following is two test cases. One was tested when concurrent access is over 75% maxthreads. One was tested when concurrent access is lower than 75% maxthreads. The former test case showed that Tomcat does not return correct HTTP header which does not contain Content-Length (response message body is one big text message). Client complains such response. I am using Tomct 6.0.18 code, BIO HTTP Connector Here is the connector configuration. <Connector port="6351" protocol="HTTP/1.1" allowTrace="false" enableLookups="false" maxPostSize="5000000" acceptCount="100" connectionTimeout="60000" keepAliveTimeout="172800000" disableUploadTimeout="false" maxKeepAliveRequests="10000000" maxThreads="50"/> Ed Xu From WellsFargo. Test 1 (Problem) Condition.The concurrent access is over 75% maxthreads. Tomcat refuse the keepAlive. Request HTTP Header POST /axis/ecbswebsrvc/ecpr/account/accountInformation/2007/11 HTTP/1.1 SOAPAction: "getAccountInformation" Connection: keep-alive User-Agent: Jakarta Commons-HttpClient/3.1 Host: ecprsit.wellsfargo.com:8001 Content-Length: 2841 Content-Type: text/xml; charset=utf-8 Response HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Content-Type: text/xml;charset=utf-8 Date: Tue, 25 Aug 2009 17:46:41 GMT Connection: close <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope> ....... ....... </soapenv:Body> Test 2 (OK) Condition: The concurrent access is lower thant 75% maxthreads. Tomcat allow keepAlive. Request HTTP Header POST /axis/ecbswebsrvc/ecpr/account/accountInformation/2007/11 HTTP/1.1 SOAPAction: "getAccountInformation" Connection: keep-alive User-Agent: Jakarta Commons-HttpClient/3.1 Host: ecprsit.wellsfargo.com:8001 Content-Length: 2841 Content-Type: text/xml; charset=utf-8 Response HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Content-Type: text/xml;charset=utf-8 Transfer-Encoding: chunked Date: Tue, 25 Aug 2009 14:23:32 GMT 2000 <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope> .......... 15ac .....</getAccountInformationResponse></soapenv:Body></soapenv:Envelope> ....... 0 -- 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