[master] 63f051d rip out the vmod_re bandaid

Nils Goroll nils.goroll at uplex.de
Tue Feb 27 11:00:13 UTC 2018


commit 63f051dbb3770b80034b90e3e0e8f06fb60248f9
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Tue Feb 27 11:58:44 2018 +0100

    rip out the vmod_re bandaid
    
    Ref: aa8875a44d587bc5530554963f93fffba99efadd
    Ref: c310f04b64a9606afae6b1e85414033c45f19253

diff --git a/bin/varnishd/cache/cache_main.c b/bin/varnishd/cache/cache_main.c
index f1e3915..d1ab577 100644
--- a/bin/varnishd/cache/cache_main.c
+++ b/bin/varnishd/cache/cache_main.c
@@ -52,7 +52,6 @@
 
 
 volatile struct params		*cache_param;
-static volatile struct vre_limits	*vparam_vre_limits;
 
 /*--------------------------------------------------------------------
  * Per thread storage for the session currently being processed by
@@ -312,8 +311,6 @@ child_main(int sigmagic, size_t altstksz)
 #endif
 
 	cache_param = heritage.param;
-	// XXX TODO - generic solution?
-	vparam_vre_limits = &cache_param->vre_limits;
 
 	AZ(pthread_key_create(&req_key, NULL));
 	AZ(pthread_key_create(&bo_key, NULL));


More information about the varnish-commit mailing list