commit | 9ea2b9ac753697aed856b9a912b67a45c69bb8f8 | [log] [tgz] |
---|---|---|
author | Cyril Bonté <cyril.bonte@free.fr> | Wed Dec 29 09:36:56 2010 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Dec 29 15:24:48 2010 +0100 |
tree | 68635daec2919353be48b7e8b6279538b299be94 | |
parent | b89cfca49428e79af1514c782cf0654cda3938ba [diff] |
[BUG] http: fix http-pretend-keepalive and httpclose/tunnel mode Since haproxy 1.4.9, combining option httpclose and option http-pretend-keepalive can leave the connections opened until the backend keep-alive timeout is reached, providing bad performances. The same can occur when the proxy is in tunnel mode. This patch ensures that the server side connection is closed after the response and ignore http-pretend-keepalive in tunnel mode.