[master] 8737cc2 Document UDS addressing for server -listen and client -connect in vtc(7).

Geoff Simmons geoff at uplex.de
Mon Feb 26 18:52:10 UTC 2018


commit 8737cc26402f411ae5b6dbdd12a26b937c8db9fa
Author: Geoff Simmons <geoff at uplex.de>
Date:   Mon Feb 26 19:49:56 2018 +0100

    Document UDS addressing for server -listen and client -connect in vtc(7).

diff --git a/bin/varnishtest/vtc_http.c b/bin/varnishtest/vtc_http.c
index 8a9f911..496d7c7 100644
--- a/bin/varnishtest/vtc_http.c
+++ b/bin/varnishtest/vtc_http.c
@@ -99,11 +99,14 @@ extern const struct cmds http_cmds[];
  *
  * \-listen STRING (server only)
  *        Dictate the listening socket for the server. STRING is of the form
- *        "IP PORT".
+ *        "IP PORT", or "/PATH/TO/SOCKET" for a Unix domain socket. In the
+ *        latter case, the path must begin with '/', and the server must be
+ *        able to create it.
  *
  * \-connect STRING (client only)
  *        Indicate the server to connect to. STRING is also of the form
- *        "IP PORT".
+ *        "IP PORT", or "/PATH/TO/SOCKET". As with "server -listen", a
+ *        Unix domain socket is recognized when STRING begins with a '/'.
  *
  * \-dispatch (server only, s0 only)
  *        Normally, to keep things simple, server threads only handle one


More information about the varnish-commit mailing list