commit | 34aae2fd1293872345056a32dec8047a67c3d852 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.org> | Tue Jul 05 00:55:09 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jul 05 05:18:51 2022 +0200 |
tree | 548f6882fd9243079a572d770451a13a6a0cd340 | |
parent | cfba1f93af4a6570b700bf4538b078e13bb65249 [diff] |
MEDIUM: mworker: set the iocb of the socketpair without using fd_insert() The worker was previously changing the iocb of the socketpair in the worker by mworker_accept_wrapper(). However, it was done using fd_insert() instead of changing directly the callback in the fdtab[].iocb pointer. This patch cleans up this by part by removing fd_insert(). It also stops setting tid_bit on the thread mask, the socketpair will be handled by any thread from now.