commit | e70c7977f2db37d6228834c98306712fb30f3fd4 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Sep 25 19:00:01 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Oct 09 11:27:30 2020 +0200 |
tree | b878ec23c68846ac9e3f4ebf817f44a6bd197c96 | |
parent | 010fe151ceb872ade68916f367d877338f14046e [diff] |
MINOR: sock: provide a set of generic enable/disable functions These will be used on receivers, to enable or disable receiving on a listener, which most of the time just consists in enabling/disabling the file descriptor. We have to take care of the existence of fd_updt to know if we may or not call fd_{want,stop}_recv() since it's not permitted in very early boot.