Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Coremunity
-
Platform Core KANBAN
-
Needs Assessment
-
Bug Fix
-
Fixes a regression in 6.14.0 which caused puppet to cache persistent http connections for 15 seconds instead of the expected 4 seconds, and it was not possible to change the timeout using the Puppet[:http_keepalive_timeout] setting.
-
Needs Assessment
Description
The http client hardcodes the timeout for the http connection pool to 15 seconds. As a result, persistent connections can't be tuned or disabled. This issue existed when the client was created, but only noticed when most of puppet was switched over to use the client for network connections. To reproduce:
$ puppet agent -td --http_keepalive_timeout 0 | grep 'Using cached connection'
|
Debug: Using cached connection for https://bleak-scorecard.delivery.puppetlabs.net:8140
|
Debug: Using cached connection for https://bleak-scorecard.delivery.puppetlabs.net:8140
|
Debug: Using cached connection for https://bleak-scorecard.delivery.puppetlabs.net:8140
|
Debug: Using cached connection for https://bleak-scorecard.delivery.puppetlabs.net:8140
|
Debug: Using cached connection for https://bleak-scorecard.delivery.puppetlabs.net:8140
|