BUG/MEDIUM: backend: do not re-initialize the connection's context upon reuse
authorWilly Tarreau <w@1wt.eu>
Fri, 20 Dec 2013 10:09:51 +0000 (11:09 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 20 Dec 2013 10:09:51 +0000 (11:09 +0100)
commitff605db510fc7169cd2691912358e3fb7502689e
tree15d6e306db5fa3ee157ad306f2d394ed7ca3a0ba
parentea90063cbcc03506510522809d564112aa1a9ce9
BUG/MEDIUM: backend: do not re-initialize the connection's context upon reuse

If we reuse a server-side connection, we must not reinitialize its context nor
try to enable send_proxy. At the moment HTTP keep-alive over SSL fails on the
first attempt because the SSL context was cleared, so it only worked after a
retry.
src/backend.c