[master] dd0959d Give the vrt_ctx a distinct session pointer which will be available in both client and backend context.
Poul-Henning Kamp
phk at FreeBSD.org
Fri Apr 8 00:13:04 CEST 2016
commit dd0959d62964a014911d1f1866b3c5b45ec5ccdc
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Thu Apr 7 22:11:14 2016 +0000
Give the vrt_ctx a distinct session pointer which will be available
in both client and backend context.
diff --git a/include/vrt.h b/include/vrt.h
index 427e45c..9963460 100644
--- a/include/vrt.h
+++ b/include/vrt.h
@@ -40,7 +40,11 @@
* Whenever something is deleted or changed in a way which is not
* binary/load-time compatible, increment MAJOR version
*
- * 3.2 = vrt_backend grew .proxy_header field
+ * 3.2:
+ * vrt_backend grew .proxy_header field
+ * vrt_ctx grew .sp field.
+ *
+ * older version:
* Bump VRT_MINOR_VERSION due to:
* - VCL_ACL type added
* Bump VRT_MAJOR_VERSION due to:
@@ -108,6 +112,8 @@ struct vrt_ctx {
struct vcl *vcl;
struct ws *ws;
+ struct sess *sp;
+
struct req *req;
struct http *http_req;
struct http *http_req_top;
More information about the varnish-commit
mailing list