[4.0] b241f61 Add info about client.port

Andreas Plesner apj at mutt.dk
Tue Jun 24 11:31:36 CEST 2014


commit b241f613acbd78310424baba86fd70d96f6c2063
Author: Andreas Plesner <apj at mutt.dk>
Date:   Fri Apr 11 12:57:46 2014 +0200

    Add info about client.port

diff --git a/doc/sphinx/whats-new/upgrading.rst b/doc/sphinx/whats-new/upgrading.rst
index 2b23621..82298a2 100644
--- a/doc/sphinx/whats-new/upgrading.rst
+++ b/doc/sphinx/whats-new/upgrading.rst
@@ -110,6 +110,13 @@ is reserved for builtin subs.
 req.backend.healthy replaced by std.healthy(req.backend)
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
+client.port replaced by std.port(client.ip)
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+The `client.ip` is now a proper type, which renders as an IP address by
+default. You need to use the `std.port()` function to get the port
+number.
+
 obj is now read-only
 ~~~~~~~~~~~~~~~~~~~~
 



More information about the varnish-commit mailing list