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
cc1f6351
Commit
cc1f6351
authored
Sep 20, 2012
by
Lasse Karstensen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Mark ban list as volatile".
This reverts commit
2587b1b9
. 3.0 branch does not build with this commit.
parent
2587b1b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
cache_ban.c
bin/varnishd/cache_ban.c
+1
-2
No files found.
bin/varnishd/cache_ban.c
View file @
cc1f6351
...
...
@@ -81,8 +81,7 @@ struct ban_test {
const
void
*
arg2_spec
;
};
/* XXX phk thinks he knows why this is a good idea */
static
volatile
VTAILQ_HEAD
(
banhead_s
,
ban
)
ban_head
=
VTAILQ_HEAD_INITIALIZER
(
ban_head
);
static
VTAILQ_HEAD
(
banhead_s
,
ban
)
ban_head
=
VTAILQ_HEAD_INITIALIZER
(
ban_head
);
static
struct
lock
ban_mtx
;
static
struct
ban
*
ban_magic
;
static
pthread_t
ban_thread
;
...
...
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