From 1e3f94aba1c47b689546ae8ac2e4ba6b1f1774c2 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 11 Apr 2018 15:09:44 +0000 Subject: Add -B (blocking) option to s6-tcpserver?-socketbinder --- .gitignore | 33 ++++++++++++++++++++++++++--- doc/s6-tcpserver4-socketbinder.html | 5 +++-- doc/s6-tcpserver6-socketbinder.html | 5 +++-- src/conn-tools/s6-tcpserver4-socketbinder.c | 9 +++++--- src/conn-tools/s6-tcpserver6-socketbinder.c | 9 +++++--- 5 files changed, 48 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 5c6415e..50104d3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,32 @@ +/config.mak +/src/include/s6-networking/config.h *.o -*.a *.lo -*.so -*.so.* +/libs6net.a.xyzzy +/libs6net.so.xyzzy +/libsbearssl.a.xyzzy +/libsbearssl.so.xyzzy +/libstls.a.xyzzy +/libstls.so.xyzzy +/minidentd +/s6-clockadd +/s6-clockview +/s6-getservbyname +/s6-ident-client +/s6-sntpclock +/s6-taiclock +/s6-taiclockd +/s6-tcpclient +/s6-tcpserver +/s6-tcpserver-access +/s6-tcpserver4 +/s6-tcpserver4-socketbinder +/s6-tcpserver4d +/s6-tcpserver6 +/s6-tcpserver6-socketbinder +/s6-tcpserver6d +/s6-tlsc +/s6-tlsclient +/s6-tlsd +/s6-tlsserver +/src/minidentd/mgetuid.c diff --git a/doc/s6-tcpserver4-socketbinder.html b/doc/s6-tcpserver4-socketbinder.html index 2345f2f..1e86e6d 100644 --- a/doc/s6-tcpserver4-socketbinder.html +++ b/doc/s6-tcpserver4-socketbinder.html @@ -26,7 +26,7 @@ socket to an IPv4 address and port, then executes a program.

Interface

-     s6-tcpserver4-socketbinder [ -d | -D ] [ -b backlog ] [ -M | -m ] ip port prog...
+     s6-tcpserver4-socketbinder [ -d | -D ] [ -b backlog ] [ -M | -m ] [ -B ] ip port prog...
 

Notes