]> git.kaiwu.me - haproxy.git/commit
MINOR: sink: add a support for file descriptors
authorWilly Tarreau <w@1wt.eu>
Tue, 20 Aug 2019 09:57:52 +0000 (11:57 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 22 Aug 2019 18:21:00 +0000 (20:21 +0200)
commit973e662fe8a4949e6e9356a0b47248516f6f9d49
tree51e3b7bd94d24d8240f9c3acdbf76fdd7bc604ca
parent67b5a161b4aa5cf9eb18a609fcbb64ec744ae7ea
MINOR: sink: add a support for file descriptors

This is the most basic type of sink. It pre-registers "stdout" and
"stderr", and is able to use writev() on them. The writev() operation
is locked to avoid mixing outputs. It's likely that the registration
should move somewhere else to take into account the fact that stdout
and stderr are still opened or are closed.
include/proto/sink.h
include/types/sink.h
src/sink.c