commit | 5ced3e8879334766613d67cacb01d9f15cfd2932 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Oct 13 17:06:12 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Oct 13 18:15:33 2020 +0200 |
tree | 1197c3263e626eece52975462525465b7bff88de | |
parent | 8b6fc3d10e6319821353095d56b0c6a8c70f2713 [diff] |
MINOR: sock: add sock_accept_conn() to test a listening socket At several places we need to check if a socket is still valid and still willing to accept connections. Instead of open-coding this, each time, let's add a new function for this.