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
c3c23079
Commit
c3c23079
authored
Mar 13, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a couple of asserts to detect the panic Per sees somewhat
earlier
parent
7259fab6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
cache_esi_fetch.c
bin/varnishd/cache_esi_fetch.c
+4
-0
No files found.
bin/varnishd/cache_esi_fetch.c
View file @
c3c23079
...
...
@@ -335,6 +335,7 @@ vfp_esi_begin(struct sess *sp, size_t estimate)
}
(
void
)
estimate
;
AN
(
sp
->
wrk
->
vep
);
}
static
int
__match_proto__
()
...
...
@@ -343,6 +344,7 @@ vfp_esi_bytes(struct sess *sp, struct http_conn *htc, ssize_t bytes)
int
i
;
CHECK_OBJ_NOTNULL
(
sp
,
SESS_MAGIC
);
AN
(
sp
->
wrk
->
vep
);
if
(
sp
->
wrk
->
is_gzip
&&
sp
->
wrk
->
do_gunzip
)
i
=
vfp_esi_bytes_gu
(
sp
,
htc
,
bytes
);
else
if
(
sp
->
wrk
->
is_gunzip
&&
sp
->
wrk
->
do_gzip
)
...
...
@@ -351,6 +353,7 @@ vfp_esi_bytes(struct sess *sp, struct http_conn *htc, ssize_t bytes)
i
=
vfp_esi_bytes_gg
(
sp
,
htc
,
bytes
);
else
i
=
vfp_esi_bytes_uu
(
sp
,
htc
,
bytes
);
AN
(
sp
->
wrk
->
vep
);
return
(
i
);
}
...
...
@@ -362,6 +365,7 @@ vfp_esi_end(struct sess *sp)
ssize_t
l
;
CHECK_OBJ_NOTNULL
(
sp
,
SESS_MAGIC
);
AN
(
sp
->
wrk
->
vep
);
vsb
=
VEP_Finish
(
sp
);
...
...
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