]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: register peer sync handler in the proper order
authorWilly Tarreau <w@1wt.eu>
Thu, 31 May 2012 12:16:59 +0000 (14:16 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 31 May 2012 12:16:59 +0000 (14:16 +0200)
commitfa6bac6ec38a5a2308bcd496a5dd6df388da6380
tree9b4d5a0a6aab4e80cdda38362b4c17523c012dd6
parentab152a7eda8b0b3d18afcd23f202c60211dff638
BUG/MEDIUM: register peer sync handler in the proper order

HervĂ© Commowick reported a failure to resync upon restart caused by a
segfault on the old process. This is due to the data_ctx of the connection
being initialized after the stream interface.
src/peers.c
src/stream_interface.c