Re: POST request with timeout acts weird

2009-10-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 10/5/2009 8:41 AM, André Warnier wrote: > - but, internally and undocumented, Tomcat also uses the same > "connectTimeout" timeout value when it is subsequently asked to read the > request body (for example with getParameters()). But since

Re: POST request with timeout acts weird

2009-10-05 Thread André Warnier
Ronald Klop wrote: ... There is even more fun about the documentation of connectionTimeout. It states that it waits for the URI after accepting the connection, but in my example Tomcat is not waiting for the URI, but for data from the request. So connectionTimeout does much more than what is me

Re: POST request with timeout acts weird

2009-10-05 Thread Ronald Klop
Op zondag, 4 oktober 2009 22:23 schreef Christopher Schultz : Ronald, On 10/2/2009 9:20 AM, Ronald Klop wrote: > But I don't send any data. My servlet than waits in getParameterMap(), > because that try's to read the inputstream and parse the parameters. > After 20 seconds (Connector ha

Re: POST request with timeout acts weird

2009-10-05 Thread Ronald Klop
Op maandag, 5 oktober 2009 00:47 schreef "André Warnier" : Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Ronald, > > On 10/2/2009 9:20 AM, Ronald Klop wrote: >> But I don't send any data. My servlet than waits in getParameterMap(), >> because that try's to r

Re: POST request with timeout acts weird

2009-10-04 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald, On 10/2/2009 9:20 AM, Ronald Klop wrote: But I don't send any data. My servlet than waits in getParameterMap(), because that try's to read the inputstream and parse the parameters. After 20 seconds (Connector has

Re: POST request with timeout acts weird

2009-10-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald, On 10/2/2009 9:20 AM, Ronald Klop wrote: > But I don't send any data. My servlet than waits in getParameterMap(), > because that try's to read the inputstream and parse the parameters. > After 20 seconds (Connector has connectionTimeout="2

Re: POST request with timeout acts weird

2009-10-02 Thread Ronald Klop
Op vrijdag, 2 oktober 2009 15:20 schreef Ronald Klop : Hello, I have made the servlet which I include below. If I send this request to it: > telnet localhost 8080 POST /timeout HTTP/1.1 Host: crm.ronald.base.nl Content-Type: application/x-www-form-urlencoded Content-Length: 100

POST request with timeout acts weird

2009-10-02 Thread Ronald Klop
Hello, I have made the servlet which I include below. If I send this request to it: telnet localhost 8080 POST /timeout HTTP/1.1 Host: crm.ronald.base.nl Content-Type: application/x-www-form-urlencoded Content-Length: 100 But I don't send any data. My servlet than waits in getParameter