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
679fe13a
Commit
679fe13a
authored
Nov 30, 2012
by
Martin Blix Grydeland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Export the ban list on shutdown to compact it
parent
e4d28b8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
cache_ban.c
bin/varnishd/cache/cache_ban.c
+5
-0
No files found.
bin/varnishd/cache/cache_ban.c
View file @
679fe13a
...
...
@@ -1280,4 +1280,9 @@ BAN_Shutdown(void)
AZ
(
pthread_join
(
ban_thread
,
&
status
));
AZ
(
status
);
Lck_Lock
(
&
ban_mtx
);
/* Export the ban list to compact it */
ban_export
();
Lck_Unlock
(
&
ban_mtx
);
}
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