Value of DEFAULT_CONNECTION_TIMEOUT in

java/org/apache/coyote/http11/Constants.java
    public static final int DEFAULT_CONNECTION_TIMEOUT = 60000;

java/org/apache/coyote/ajp/Constants.java
    public static final int DEFAULT_CONNECTION_TIMEOUT = -1;

Anf for BIO AJP this -1 lead to infinite timeout, the same for APR AJP,
but for NIO it is immediate timeout.

IMHO it would be good to have consistent behaviour for default timeouts,
and either we use the 60000 as for http or switch NIO to also use
infinite timeout when -1 is set. I would opt for the latter, because
that seems to be more appropriate for AJP and more consistent with past
behaviour. Still I don't see that as critical for 7.0.19.

Regards,

Rainer

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

Reply via email to