[master] ec13b93 Fix example, since req.* isn't available in vcl_backend_response
Andreas Plesner
apj at mutt.dk
Fri Apr 11 17:19:25 CEST 2014
commit ec13b93699041fbf721cc0a0b4d0c4a5fe62a635
Author: Andreas Plesner <apj at mutt.dk>
Date: Fri Apr 11 17:19:04 2014 +0200
Fix example, since req.* isn't available in vcl_backend_response
diff --git a/doc/sphinx/users-guide/purging.rst b/doc/sphinx/users-guide/purging.rst
index c0e8381..fcd5f5b 100644
--- a/doc/sphinx/users-guide/purging.rst
+++ b/doc/sphinx/users-guide/purging.rst
@@ -122,7 +122,7 @@ object is not available in the `ban lurker` thread.
You can use the following template to write `ban lurker` friendly bans::
sub vcl_backend_response {
- set beresp.http.x-url = req.url;
+ set beresp.http.x-url = bereq.url;
}
sub vcl_deliver {
More information about the varnish-commit
mailing list