> On Nov 3, 2014, at 3:43 PM, Carlos Abalde <[email protected]> wrote:
> 
> ...
> Should be replaced after 3.0.3 with something like:
> 
>  set req.http.x-foo = vmod.foo();
>  if (req.http.x-foo != "") {
>    # VMOD returned NULL.
>  }

Small correction:

  set req.http.x-foo = vmod.foo();
  if (req.http.x-foo == "") {
    # VMOD returned NULL (or empty string)
  }

Cheers,

--
Carlos Abalde.

_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to