How do you set the timeout on keep alive connections to the Jetty web server (in my case v6.1.19)?
I would like to configure how long Jetty keeps connections open when a client requests keep alive. Currently it seems indefinite.
How do you set the timeout on keep alive connections to the Jetty web server (in my case v6.1.19)?
I would like to configure how long Jetty keeps connections open when a client requests keep alive. Currently it seems indefinite.
This can be configured by setting the "maxIdleTime" on the socket connector. See Configuring Connectors
For example in jetty.xml
From the manual: