MAJOR: backend: enable connection reuse
authorWilly Tarreau <w@1wt.eu>
Sun, 15 Dec 2013 15:33:46 +0000 (16:33 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 16 Dec 2013 01:23:54 +0000 (02:23 +0100)
commit34601a8f986480b944fa1debb0e8cff97cbd5dc4
tree49e119fd34504d3e99489ea9a41e99c2bde3ddf0
parent4213a11df963b3802e7a1496a100dd95a53a7de1
MAJOR: backend: enable connection reuse

This commit allows an existing server-side connection to be reused if
it matches the same target. Basic controls are performed ; right now
we do not allow to reuse a connection when dynamic source binding is
in use or when the destination address or port is dynamic (eg: proxy
mode). Later we'll have to also disable connection sharing when PROXY
protocol is being used or when non-idempotent requests are processed.
src/backend.c