[6.0] 49e207fa3 Improve vss_parse documentation
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Wed May 22 09:03:11 UTC 2019
commit 49e207fa30c8a77f37ba9901c831b7bbce7f9c98
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Thu May 9 10:19:33 2019 +0200
Improve vss_parse documentation
diff --git a/lib/libvarnish/vss.c b/lib/libvarnish/vss.c
index 6ba726d85..ebbdf4f2b 100644
--- a/lib/libvarnish/vss.c
+++ b/lib/libvarnish/vss.c
@@ -46,14 +46,15 @@
/*
* Take a string provided by the user and break it up into address and
- * port parts. Examples of acceptable input include:
+ * port parts. The address and port separator may be either a colon or
+ * a whitespace. Examples of acceptable input include:
*
- * "localhost" - "localhost:80"
- * "127.0.0.1" - "127.0.0.1:80"
- * "0.0.0.0" - "0.0.0.0:80"
- * "[::1]" - "[::1]:80"
- * "[::]" - "[::]:80"
- * "::1" - "[::1]:80"
+ * "localhost" - "localhost:80" - "localhost 80"
+ * "127.0.0.1" - "127.0.0.1:80" - "127.0.0.1 80"
+ * "0.0.0.0" - "0.0.0.0:80" - "0.0.0.0 80"
+ * "[::1]" - "[::1]:80" - "[::1] 80"
+ * "[::]" - "[::]:80" - "[::] 80"
+ * "::1" - "[::1]:80" - "::1 80"
*
* See also RFC5952
*/
More information about the varnish-commit
mailing list