HomePhorge

(PUP-744) Allow keepalive timeout to be configurable
778799bdab00Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-744) Allow keepalive timeout to be configurable

Previously the http keepalive timeout was hard coded to be 15 seconds.
This commit adds a new puppet setting, http_keepalive_timeout, which
defaults to 4 seconds. The reason for the smaller value, is because
Apache 2.2 and 2.4 have a corresponding server side keepalive timeout,
which defaults to 5 seconds.

If the client timeout were greater than or equal to the server timeout,
then the client may try to reuse a connection from the pool that the
server has almost certainly closed.

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU1bc3ec110016: (PUP-744) Ensure connections we create support at least HTTP 1.1
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPU778799bdab00: (PUP-744) Allow keepalive timeout to be configurable (authored by Josh Cooper <josh@puppetlabs.com>).Jul 25 2014, 6:36 PM