summaryrefslogtreecommitdiffstats
path: root/src/libutil/addr.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-06-09 14:36:07 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-06-09 14:36:07 +0100
commit903111c6cc2cbc07de9f84a8ad1b9cddc5dfaaeb (patch)
tree354c8a0122232003e707ddfa4d32aec35d0afa99 /src/libutil/addr.h
parentae6f563623c765e574bd9a211be7524f7495ea28 (diff)
downloadrspamd-903111c6cc2cbc07de9f84a8ad1b9cddc5dfaaeb.tar.gz
rspamd-903111c6cc2cbc07de9f84a8ad1b9cddc5dfaaeb.zip
[Project] Do not listen sockets in the main process
Diffstat (limited to 'src/libutil/addr.h')
-rw-r--r--src/libutil/addr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/addr.h b/src/libutil/addr.h
index 852e43b60..483ad9434 100644
--- a/src/libutil/addr.h
+++ b/src/libutil/addr.h
@@ -232,6 +232,7 @@ enum rspamd_inet_address_listen_opts {
RSPAMD_INET_ADDRESS_LISTEN_DEFAULT = 0,
RSPAMD_INET_ADDRESS_LISTEN_ASYNC = (1u << 0u),
RSPAMD_INET_ADDRESS_LISTEN_REUSEPORT = (1u << 1u),
+ RSPAMD_INET_ADDRESS_LISTEN_NOLISTEN = (1u << 2u),
};
/**
* Listen on a specified inet address