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
ef9e5fff
Commit
ef9e5fff
authored
Sep 09, 2016
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Go over the vcl-wrangling code and unspread the creation of the
VRT_CTX used for VCL events.
parent
9f292e81
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
140 additions
and
171 deletions
+140
-171
cache_vcl.c
bin/varnishd/cache/cache_vcl.c
+138
-169
mgt_vcl.c
bin/varnishd/mgt/mgt_vcl.c
+1
-1
vcli_serve.h
include/vcli_serve.h
+1
-1
No files found.
bin/varnishd/cache/cache_vcl.c
View file @
ef9e5fff
This diff is collapsed.
Click to expand it.
bin/varnishd/mgt/mgt_vcl.c
View file @
ef9e5fff
...
...
@@ -299,7 +299,7 @@ mgt_vcl_setstate(struct cli *cli, struct vclprog *vp, const char *vs)
vp
->
name
,
vp
->
warm
,
vp
->
state
);
if
(
i
)
{
AN
(
cli
);
AN
(
vp
->
warm
);
XXXAN
(
vp
->
warm
);
/* XXX: should restart child instead */
VCLI_SetResult
(
cli
,
status
);
VCLI_Out
(
cli
,
"%s"
,
p
);
}
...
...
include/vcli_serve.h
View file @
ef9e5fff
...
...
@@ -70,7 +70,7 @@ struct cli_proto {
/* a CLI session */
struct
cli
{
unsigned
magic
;
#define CLI_MAGIC
0x4038d570
#define CLI_MAGIC
0x4038d570
struct
vsb
*
sb
;
enum
VCLI_status_e
result
;
char
*
cmd
;
...
...
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