BUG/MEDIUM: connection: fix proxy v2 header again!
authorWilly Tarreau <w@1wt.eu>
Sat, 19 Jul 2014 04:37:33 +0000 (06:37 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 19 Jul 2014 04:37:33 +0000 (06:37 +0200)
commit3b9a0c9d4d083d749846d66f9bd4caabafe4ee78
treec3e1a179dadee4d99c5ca4c398404ac5dfd6484f
parent77d1f0143e210c13ee8ec6aaf6b3150fa4ce6c5b
BUG/MEDIUM: connection: fix proxy v2 header again!

Last commit 77d1f01 ("BUG/MEDIUM: connection: fix memory corruption
when building a proxy v2 header") was wrong, using &cn_trash instead
of cn_trash resulting in a warning and the client's SSL cert CN not
being stored at the proper location.

Thanks to Lukas Tribus for spotting this quickly.

This should be backported to 1.5 after the patch above is backported.
src/connection.c