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
d9195348
Commit
d9195348
authored
Nov 08, 2019
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't replicate existing default code.
parent
0592e396
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
cache_vcl.c
bin/varnishd/cache/cache_vcl.c
+1
-6
No files found.
bin/varnishd/cache/cache_vcl.c
View file @
d9195348
...
...
@@ -920,8 +920,6 @@ static struct cli_proto vcl_cmds[] = {
void
VCL_Init
(
void
)
{
unsigned
sz
;
char
*
vslbuf
;
assert
(
cache_param
->
workspace_client
>
0
);
WS_Init
(
&
ws_cli
,
"cli"
,
malloc
(
cache_param
->
workspace_client
),
...
...
@@ -929,8 +927,5 @@ VCL_Init(void)
ws_snapshot_cli
=
WS_Snapshot
(
&
ws_cli
);
CLI_AddFuncs
(
vcl_cmds
);
Lck_New
(
&
vcl_mtx
,
lck_vcl
);
sz
=
cache_param
->
vsl_buffer
;
vslbuf
=
malloc
(
sz
);
AN
(
vslbuf
);
VSL_Setup
(
&
vsl_cli
,
vslbuf
,
sz
);
VSL_Setup
(
&
vsl_cli
,
NULL
,
0
);
}
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