Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
aa8875a4
Commit
aa8875a4
authored
Nov 09, 2017
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add a temporary bandaid for vmod_re
@bsdphk to be discussed / replaced
parent
128cc1a5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
cache.h
bin/varnishd/cache/cache.h
+1
-0
cache_main.c
bin/varnishd/cache/cache_main.c
+5
-1
No files found.
bin/varnishd/cache/cache.h
View file @
aa8875a4
...
...
@@ -731,6 +731,7 @@ extern const char H__Reason[];
#define VXID(u) ((u) & VSL_IDENTMASK)
uint32_t
VXID_Get
(
struct
worker
*
,
uint32_t
marker
);
extern
volatile
struct
params
*
cache_param
;
extern
volatile
struct
vre_limits
*
vparam_vre_limits
;
extern
pthread_key_t
witness_key
;
/* cache_lck.c */
...
...
bin/varnishd/cache/cache_main.c
View file @
aa8875a4
...
...
@@ -49,7 +49,9 @@
#include "hash/hash_slinger.h"
volatile
struct
params
*
cache_param
;
volatile
struct
params
*
cache_param
;
// XXX generic solution?
volatile
struct
vre_limits
*
vparam_vre_limits
;
/*--------------------------------------------------------------------
* Per thread storage for the session currently being processed by
...
...
@@ -308,6 +310,8 @@ 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
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment