Travis, You have to have a request. An empty request isn't a valid request. As for it being documented, it's documented in the rfc's but I'm not sure varnish documentation includes this at all.
~Paul On Fri, Sep 06, 2013 at 02:30:06PM +0000, Crowder, Travis wrote: > 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 ________________________________ This message may contain confidential or privileged information. If you are not the intended recipient, please advise us immediately and delete this message. See http://www.datapipe.com/legal/email_disclaimer/ for further information on confidentiality and the risks of non-secure electronic communication. If you cannot access these links, please notify us by reply message and we will send the contents to you. _______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
