[master] 3c0fe7941 Clarify varnishtest automatic connect behavior

guillaume quintard gquintard at users.noreply.github.com
Tue Sep 17 16:49:05 UTC 2019


commit 3c0fe7941062b16d2b993a377ef8ef4e37defd4f
Author: Jordan Christiansen <jordan.christiansen at target.com>
Date:   Tue Sep 17 05:53:35 2019 -0500

    Clarify varnishtest automatic connect behavior

diff --git a/bin/varnishtest/vtc_http.c b/bin/varnishtest/vtc_http.c
index 67d07c312..b062773e2 100644
--- a/bin/varnishtest/vtc_http.c
+++ b/bin/varnishtest/vtc_http.c
@@ -69,14 +69,15 @@ extern const struct cmds http_cmds[];
  * SECTION: client-server.macros Macros and automatic behaviour
  *
  * To make things easier in the general case, clients will connect by default
- * to the first Varnish server declared and the -vcl+backend switch of the
- * ``varnish`` command will add all the declared servers as backends.
- *
- * Be careful though, servers will by default listen to the 127.0.0.1 IP and
- * will pick a random port, and publish 3 macros: sNAME_addr, sNAME_port and
- * sNAME_sock, but only once they are started.
- * For 'varnish -vcl+backend' to create the vcl with the correct values, the
- * server must be started first.
+ * to a Varnish server called v1. To connect to a different Varnish server, use
+ * '-connect ${vNAME_sock}'.
+ *
+ * The -vcl+backend switch of the ``varnish`` command will add all the declared
+ * servers as backends. Be careful though, servers will by default listen to
+ * the 127.0.0.1 IP and will pick a random port, and publish 3 macros:
+ * sNAME_addr, sNAME_port and sNAME_sock, but only once they are started. For
+ * 'varnish -vcl+backend' to create the vcl with the correct values, the server
+ * must be started first.
  *
  * SECTION: client-server.args Arguments
  *


More information about the varnish-commit mailing list