[5.2] 3327f8a Document the changed default for server.identity in 5.2.

PÃ¥l Hermunn Johansen hermunn at varnish-software.com
Fri Sep 15 11:17:23 UTC 2017


commit 3327f8a3ab455218a1566b6f7acf2163c86f3af0
Author: Geoff Simmons <geoff at uplex.de>
Date:   Wed Sep 13 15:27:10 2017 +0200

    Document the changed default for server.identity in 5.2.

diff --git a/doc/sphinx/whats-new/upgrading-5.2.rst b/doc/sphinx/whats-new/upgrading-5.2.rst
index 05e6790..5e3552a 100644
--- a/doc/sphinx/whats-new/upgrading-5.2.rst
+++ b/doc/sphinx/whats-new/upgrading-5.2.rst
@@ -62,6 +62,15 @@ You can use :ref:`vmod_blob(3)` to work with the hashes::
       set resp.http.Hash = blob.encode(BASE64, blob=req.hash);
   }
 
+``server.identity``
+~~~~~~~~~~~~~~~~~~~
+
+If the ``-i`` option is not set in the invocation of ``varnishd``,
+then ``server.identity`` is set to the host name (as returned by
+``gethostname(3)``). Previously, ``server.identity`` was set to the
+value of the ``-n`` option (or the default instance name if ``-n`` was
+not set). See :ref:`varnishd(1)`.
+
 XXX: vcl_sub_XXX ...
 ~~~~~~~~~~~~~~~~~~~~
 


More information about the varnish-commit mailing list