[master] ca07c002f Add more release docs for 2018-09 to 'Upgrading'.

Dridi Boukelmoune dridi at varni.sh
Tue Sep 11 06:49:36 UTC 2018


> +* For all of the utilities that access the Varnish log --
> +  ``varnishlog(1)``, ``varnishncsa(1)``, ``varnishtop(1)`` and
> +  ``varnishhist(1)`` -- it is now possible to set multiple ``-I`` and
> +  ``-X`` command-line arguments.  So you can use multiple include and
> +  exclude filters that apply regular expressions to selected log
> +  messages.
> +

This sounds both familiar and wrong. Wasn't it already the case, but
not documented as such?

Found it: 9938f01fe8a2b148013423c310c221273b8297b4

It was only a docfix!

> +  * When ``PRIV_TASK`` and ``PRIV_TOP`` parameters are defined for a
> +    VMOD method or function, space for the ``struct vrt_priv`` object
> +    is allocated on the appropriate workspace before invocation -- the
> +    task workspace (client or backend) for ``PRIV_TASK``, and the
> +    client workspace for ``PRIV_TOP``. So it is no longer necessary
> +    for the VMOD code to do the allocation. The address of the
> +    allocated object is passed into the invocation. If the address is
> +    NULL, then allocation failed due to workspace exhaustion (so your
> +    VMOD should check for that).
> +

I think this is done transparently and the API didn't change. Maybe needs
double check from someone who knows better? I don't.

Dridi


More information about the varnish-commit mailing list