Hello,

in this bug https://bz.apache.org/bugzilla/show_bug.cgi?id=58565 there
was some dicussion on download timeouts.

I had noticed that tomcat does close slow/hanging downloads after the
connectTimeout=20s even when the documentation
(http://tomcat.apache.org/tomcat-8.0-doc/config/http.html) reads:

connectionTimeout       

The number of milliseconds this Connector will wait, after accepting a
connection, for the request URI line to be presented. Use a value of -1
to indicate no (i.e. infinite) timeout. The default value is 60000
(i.e. 60 seconds) but note that the standard server.xml that ships with
Tomcat sets this to 20000 (i.e. 20 seconds). Unless
disableUploadTimeout is set to false, this timeout will also be used
when reading the request body (if any).


I think this is wrong, it does not only apply to the initial line but
also the output. Maybe this could be clarified, especially in relation
with uploadTimeout and keepAliveTimeout. Especially when does the
connector transition from one to the other.

Greetings
Bernd


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to