I was working to replace a value in req.url in vcl_recv and I was having some 
issues getting a new value into req.url.  I tried replacing it with nothing via 
set req.url = "" and I also tried using regsub.  It turns out that if you try 
to set req.url to an empty value, nothing happens.  I ended up having to use 
set req.url = "/";

Is this expected and documented behavior?

-Travis

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

Reply via email to