[master] 5aea717e2 The fallback default port for std.ip() is always 80

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Tue May 21 07:46:10 UTC 2019


commit 5aea717e2be067fa1b6914e992baa8abb38918cd
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Wed May 15 12:02:05 2019 +0200

    The fallback default port for std.ip() is always 80

diff --git a/lib/libvmod_std/vmod.vcc b/lib/libvmod_std/vmod.vcc
index 05ec3aec7..fafc8ae29 100644
--- a/lib/libvmod_std/vmod.vcc
+++ b/lib/libvmod_std/vmod.vcc
@@ -341,7 +341,8 @@ and a port number or service name.
 When *s* contains both, the syntax is either ``address:port`` or
 ``address port``. If the address is a numerical IPv6 address it must be
 enclosed between brackets, for example ``[::1] 80`` or ``[::1]:http``.
-The *fallback* may also contain both an address and a port.
+The *fallback* may also contain both an address and a port, but its default
+port is always 80.
 
 If *resolve* is false, `getaddrinfo(3)` is called using ``AI_NUMERICHOST``
 and ``AI_NUMERICSERV`` to avoid network lookups depending on the system's


More information about the varnish-commit mailing list