idleTimeout property

Duration idleTimeout
final

A keep-alive connection with no new request for this long is closed. A request head must also come whole in this time. Behind a load balancer, set it longer than the idle timeout of the balancer (eg. 65 seconds for AWS ALB, which keeps connections for 60 seconds). Else Dox may close a connection the balancer still uses, and clients get 502. Default 30 seconds.

Implementation

final Duration idleTimeout;