]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: lua: block on remote connection establishment
authorWilly Tarreau <w@1wt.eu>
Thu, 6 Dec 2018 14:29:50 +0000 (15:29 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 6 Dec 2018 14:29:50 +0000 (15:29 +0100)
commit12c24235ca05b4d397c70db65a36ed96d3e5f1d7
treed3293311460b2de62f1d43268178e49e647080f4
parentadc7f3edd26f2cc508bb9ceeb140bf6e54b5d79c
BUG/MEDIUM: lua: block on remote connection establishment

We used to wait for the other side to be connected, but the blocking
flags were inaccurate. It used to work fine almost by accident before
the stream interface changes. Now we use the new RXBLK_CONN flag to
explicitly subscribe to this event.

Thanks to Adis for reporting the issue, PiBaNL for the test case,
and Olivier for the diagnostic.

No backport is needed.
src/hlua.c