haproxy/include
Willy Tarreau 931d8b79a8 MINOR: fd: add fd_write_frag_line() to send a fragmented line to an fd
Currently both logs and event sinks may use a file descriptor to
atomically emit some output contents. The two may use the same FD though
nothing is done to make sure they use the same lock. Also there is quite
some redundancy between the two. Better make a specific function to send
a fragmented message to a file descriptor which will take care of the
locking via the fd's lock. The function is also able to truncate a
message and to enforce addition of a trailing LF when building the
output message.
2019-08-27 17:14:19 +02:00
..
common MINOR: buffer: add functions to read/write varints from/to buffers 2019-08-27 17:14:19 +02:00
import BUILD: threads/plock: fix a build issue on Clang without optimization 2017-11-20 21:06:35 +01:00
proto MINOR: fd: add fd_write_frag_line() to send a fragmented line to an fd 2019-08-27 17:14:19 +02:00
types MINOR: fd: add fd_write_frag_line() to send a fragmented line to an fd 2019-08-27 17:14:19 +02:00