[6.0] 41d303866 The fallback default port for std.ip() is always 80

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Wed May 22 09:03:12 UTC 2019


commit 41d30386691d7eda00916a2943e58bf10627a8ea
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
    
    Conflicts:
            lib/libvmod_std/vmod.vcc

diff --git a/lib/libvmod_std/vmod.vcc b/lib/libvmod_std/vmod.vcc
index fa326bf52..80b2d5c07 100644
--- a/lib/libvmod_std/vmod.vcc
+++ b/lib/libvmod_std/vmod.vcc
@@ -181,7 +181,7 @@ Description
 	``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.
+	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


More information about the varnish-commit mailing list