Commit c661da5e authored by Geoff Simmons's avatar Geoff Simmons

Mention the use of std.rollback() to reset req.http.* in "Upgrading".

parent 9c7e8641
......@@ -457,6 +457,10 @@ Restarts now leave all of the properties of the client request
unchanged (all of the ``req.*`` variables, including the headers),
except for ``req.restarts`` and ``req.xid``, which change by design.
If you need to reset the client request headers to their original
state (before changes in VCL), call
:ref:`std.rollback(req) <func_rollback>`.
``return(restart)`` can now be called from ``vcl_recv{}``.
New VMODs
......
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