diff options
author | Renaud Métrich <rmetrich@redhat.com> | 2020-08-20 13:00:37 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-09-01 17:20:23 +0200 |
commit | 3e5f04bf6468fcb79c080f02b0eab08f258bff0c (patch) | |
tree | 4bd8f30a63684745216e7cde2d56436026f531ac /src/core/socket.h | |
parent | f77d6ec9539fd87eb3ecad3a742ac684cc6dc5d2 (diff) | |
download | systemd-3e5f04bf6468fcb79c080f02b0eab08f258bff0c.tar.gz |
socket: New option 'FlushPending' (boolean) to flush socket before entering listening state
Disabled by default. When Enabled, before listening on the socket, flush the content.
Applies when Accept=no only.
Diffstat (limited to 'src/core/socket.h')
-rw-r--r-- | src/core/socket.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/socket.h b/src/core/socket.h index bb14e6b0f7..cf475e2638 100644 --- a/src/core/socket.h +++ b/src/core/socket.h @@ -110,6 +110,7 @@ struct Socket { bool accept; bool remove_on_stop; bool writable; + bool flush_pending; int socket_protocol; |