commit | 7e9776ad7b81cff4f0c1ff3781bc6388323a3655 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Aug 30 14:41:47 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Aug 30 15:07:25 2019 +0200 |
tree | 7d749aabc7848681c8ffbbc2727809bf26521307 | |
parent | d660990cee7227fb052047ac3925af5950dfc62d [diff] |
MINOR: fd/log/sink: make the non-blocking initialization depend on the initialized bit Logs and sinks were resorting to dirty hacks to initialize an FD to non-blocking mode. Now we have a bit for this in the fd tab so we can do it on the fly on first use of the file descriptor. Previously it was set per log server by writing value 1 to the port, or during a sink initialization regardless of the usage of the fd.