enonic / lib-http-client

Http Client Library for Enonic XP.
Apache License 2.0
0 stars 4 forks source link

Idle Timeout #103

Closed rymsha closed 2 years ago

rymsha commented 2 years ago

com.enonic.lib.http.client.idle.timeout system property to regulate http-client TTL in milliseconds . Default value is 30000

If TTL have passed for any connection (connection is decided by host, port and/or proxy), the client holding this connection is disposed.

This allows to avoid "Connection reset by peer" when network silently drops idle TCP connections.