]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/socket: refuse MaxConnection=0 for Accept=no sockets too
authorMike Yuan <me@yhndnzj.com>
Sun, 25 Aug 2024 21:30:47 +0000 (23:30 +0200)
committerMike Yuan <me@yhndnzj.com>
Mon, 26 Aug 2024 12:52:25 +0000 (14:52 +0200)
commitbca5505839c33549040c2ed22e751ba9edf81728
tree6383bfc74b94e6c9fa90689d7929e621b6e239f8
parentf220d98945d0a365f71814a3c92157ed129e84f0
core/socket: refuse MaxConnection=0 for Accept=no sockets too

This makes no sense at all, and we already refuse such setting
for Accept=yes sockets. I see no reason not to extend this to
Accept=no ones.
src/core/socket.c