Folks Up to this point HttpClient of all versions use infinite connection keep-alive period unless explicitly instructed by the origin server to do otherwise. That can lead to connections going stale while kept-alive in the connection pool (subject to the stale connection check if activated). While I/O errors due to a stale connection are pretty much inevitable they can be reduced by using a finite keep-alive period by default. I chose 1 minute to be the default. Please let me know if you disagree.
https://github.com/apache/httpcomponents-client/pull/211 Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
