]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: sockpair: wrong return value for fd_send_uxst()
authorWilliam Lallemand <wlallemand@haproxy.org>
Mon, 25 Jul 2022 13:51:30 +0000 (15:51 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Mon, 25 Jul 2022 14:10:58 +0000 (16:10 +0200)
commitf67e8fb92c795808f60b2406ae395ebc0ca180c5
treec6be06459dea7e2ecb1fb9a269669a847dfe44bb
parent51b1fcedebbec17fd38b8b1c1de10c7572d24ec8
BUG/MINOR: sockpair: wrong return value for fd_send_uxst()

The fd_send_uxst() function which is used to send a socket over the
socketpair returns 1 upon error instead of -1, which means the error
case of the sendmsg() is never catched correctly.

Must be backported as far as 1.9.
src/proto_sockpair.c