RE: http 1.0 timeout patch

2001-03-21 Thread GOMEZ Henri
>Isn't there an issue with tomcat closing a connection before >apache does? It's not related since we speak here of the native tomcat http connector. >At least it seems so to me. If you restart tomcat while the browser is >connected to it through apache-mod_jk, then that apache >process will u

RE: http 1.0 timeout patch

2001-03-21 Thread GOMEZ Henri
>What about 33 sec. ? It matches the version :-) > >( seriously - does the HTTP spec have any number ? If not, can we use >whatever apache is using ? ) > >In any case - 300s is better than no timeout - and if it's too >much we can >reduce it later ( and make it configurable anyway ). > 300s i

Re: http 1.0 timeout patch

2001-03-21 Thread Endre Stølsvik
On Wed, 21 Mar 2001 [EMAIL PROTECTED] wrote: | What about 33 sec. ? It matches the version :-) | | ( seriously - does the HTTP spec have any number ? If not, can we use | whatever apache is using ? ) | | In any case - 300s is better than no timeout - and if it's too much we can | reduce it later

Re: http 1.0 timeout patch

2001-03-21 Thread cmanolache
What about 33 sec. ? It matches the version :-) ( seriously - does the HTTP spec have any number ? If not, can we use whatever apache is using ? ) In any case - 300s is better than no timeout - and if it's too much we can reduce it later ( and make it configurable anyway ). Costin On Wed, 2

Re: http 1.0 timeout patch

2001-03-21 Thread Casey Lucas
I'm -1 on the 15 sec. You never know what type of network a client may be traversing. -Casey GOMEZ Henri wrote: > > Hi, > > I notice you corrected the patch which is a good thing > but settings timeout to 5mn (300s) is a little too high > for an http 1.0 connection. The timeout could be as l

RE: http 1.0 timeout patch

2001-03-21 Thread GOMEZ Henri
>I picked 5 minutes because that seemed to be the default >timeout for Apache >httpd. If I open telnet session to Apache and never enter any data the >connection times out after 5 minutes. > >In Apache this is configured in httpd.conf as > ># ># Timeout: The number of seconds before receives and

RE: http 1.0 timeout patch

2001-03-21 Thread Marc Saegesser
time out. # Timeout 300 > -Original Message- > From: GOMEZ Henri [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 21, 2001 4:01 PM > To: [EMAIL PROTECTED] > Cc: Marc Saegesser > Subject: http 1.0 timeout patch > > > Hi, > > I notice you corrected the

http 1.0 timeout patch

2001-03-21 Thread GOMEZ Henri
Hi, I notice you corrected the patch which is a good thing but settings timeout to 5mn (300s) is a little too high for an http 1.0 connection. The timeout could be as low as 15s. The timeout is activated if you have more that 15s between 2 read() and since connector read stream byte by byte. 30