[master] 2edb4d2 Doc: VRT creation of a UDS backend for VMODs in "Upgrading to 6.0".
Geoff Simmons
geoff at uplex.de
Tue Mar 13 12:33:08 UTC 2018
commit 2edb4d2ceee4ebbf86e2e744508778a5d1f473b6
Author: Geoff Simmons <geoff at uplex.de>
Date: Tue Mar 13 13:31:22 2018 +0100
Doc: VRT creation of a UDS backend for VMODs in "Upgrading to 6.0".
diff --git a/doc/sphinx/whats-new/upgrading-6.0.rst b/doc/sphinx/whats-new/upgrading-6.0.rst
index 3565eb0..62c83d0 100644
--- a/doc/sphinx/whats-new/upgrading-6.0.rst
+++ b/doc/sphinx/whats-new/upgrading-6.0.rst
@@ -538,6 +538,17 @@ Other changes
* Changes for developers:
+ * As part of VRT version 7.0, the ``path`` field has been added to
+ to ``struct vrt_backend``, which a VMOD can use with
+ ``VRT_new_backend()`` to create a dynamic backend with a UDS
+ address (see ``vrt.h``).
+
+ If ``path`` is non-NULL, then both of the IPv4 and IPv6 addresses
+ must be NULL. If ``path`` is NULL, then (as before) one or both of
+ the IP addresses must be non-NULL. The ``dyn_uds`` object in VMOD
+ debug (available in the source tree) illustrates how this can be
+ done.
+
* VMOD vcc sources may now include a directive ``$Synopsis`` whose
value may be ``auto`` or ``manual``, default ``auto``.
More information about the varnish-commit
mailing list