Skip to content
Permalink
Browse files

Improve vss_parse documentation

  • Loading branch information...
Dridi committed May 9, 2019
1 parent 5c1e696 commit ed66b6edd27572b1838e1c703cb27e42a29b922a
Showing with 8 additions and 7 deletions.
  1. +8 −7 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
*/

0 comments on commit ed66b6e

Please sign in to comment.
You can’t perform that action at this time.