Commit 69123e7e authored by Dag Haavi Finstad's avatar Dag Haavi Finstad

Minor language cleanup.

parent 5fa4368e
...@@ -22,8 +22,8 @@ Backends vs Directors ...@@ -22,8 +22,8 @@ Backends vs Directors
The intuitive classification for backend and director is an endpoint for the The intuitive classification for backend and director is an endpoint for the
former and a cluster for the latter, but the actual implementation is a bit former and a cluster for the latter, but the actual implementation is a bit
more subtle. VMODs can accept backend arguments return backends in VCL (see more subtle. VMODs can accept backend arguments and return backends in VCL (see
:ref:`ref-vmod-vcl-c-types`), but he underlying C type is ``struct director``. :ref:`ref-vmod-vcl-c-types`), but the underlying C type is ``struct director``.
Under the hood director is a generic concept, and a backend is a kind of Under the hood director is a generic concept, and a backend is a kind of
director. director.
...@@ -69,8 +69,8 @@ implements native backends. It is the canonical implementation, and though it ...@@ -69,8 +69,8 @@ implements native backends. It is the canonical implementation, and though it
provides other services like connection pooling or statistics, it is provides other services like connection pooling or statistics, it is
essentially a director which state is a ``struct backend``. Varnish native essentially a director which state is a ``struct backend``. Varnish native
backends currently speak HTTP/1 over TCP, and as such, you need to make your backends currently speak HTTP/1 over TCP, and as such, you need to make your
own custom backend if you want Varnish to do otherwise such as connecting over own custom backend if you want Varnish to do otherwise such as connect over
UDP or UNIX-domain sockets or speaking a different protocol. UDP or UNIX-domain sockets or speak a different protocol.
You may also consider making your custom backend compliant with regards to the You may also consider making your custom backend compliant with regards to the
VCL state (see :ref:`ref-vmod-event-functions`). VCL state (see :ref:`ref-vmod-event-functions`).
...@@ -150,8 +150,8 @@ having at least one healthy underlying backend or director. ...@@ -150,8 +150,8 @@ having at least one healthy underlying backend or director.
For dynamic backends, it is just a matter of assigning the ``probe`` field in For dynamic backends, it is just a matter of assigning the ``probe`` field in
the ``struct vrt_backend``. Once the director is created, the probe definition the ``struct vrt_backend``. Once the director is created, the probe definition
too is no longer needed. It is then Varnish that will take care of health too is no longer needed. It is then Varnish that will take care of the health
probing and disabling the feature on cold VCL (see probe and disable the feature on a cold VCL (see
:ref:`ref-vmod-event-functions`). :ref:`ref-vmod-event-functions`).
Instead of initializing your own probe definition, you can get a ``VCL_PROBE`` Instead of initializing your own probe definition, you can get a ``VCL_PROBE``
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment