Re: POST request with timeout acts weird

2009-10-05 Thread Ronald Klop
Op maandag, 5 oktober 2009 00:47 schreef André Warnier a...@ice-sa.com: 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

Re: POST request with timeout acts weird

2009-10-05 Thread Ronald Klop
Op zondag, 4 oktober 2009 22:23 schreef Christopher Schultz ch...@christopherschultz.net: 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.

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

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 the

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

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

Re: POST request with timeout acts weird

2009-10-02 Thread Ronald Klop
Op vrijdag, 2 oktober 2009 15:20 schreef Ronald Klop ronald-mailingl...@base.nl: 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: