commit | 344b8fcf8730e0facf6fdda5b18731f53c3a773f | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Oct 15 09:43:31 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Oct 15 21:47:56 2020 +0200 |
tree | e06c77eeaa5615c0b04ae9ede5e8b99b52d09ce0 | |
parent | f1dc9f2f175c94c0a0109d8d3a4f9f14a30a47b0 [diff] |
MINOR: sockpair: implement sockpair_accept_conn() to accept a connection This is the same as previous commit, but this time for the sockpair- specific stuff, relying on recv_fd_uxst() instead of accept(), so the code is simpler. The various errno cases are handled like for regular sockets, though some of them will probably never happen, but this does not hurt.