Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
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)
...
@@ -335,6 +335,7 @@ vfp_esi_begin(struct sess *sp, size_t estimate)
}
}
(
void
)
estimate
;
(
void
)
estimate
;
AN
(
sp
->
wrk
->
vep
);
}
}
static
int
__match_proto__
()
static
int
__match_proto__
()
...
@@ -343,6 +344,7 @@ vfp_esi_bytes(struct sess *sp, struct http_conn *htc, ssize_t bytes)
...
@@ -343,6 +344,7 @@ vfp_esi_bytes(struct sess *sp, struct http_conn *htc, ssize_t bytes)
int
i
;
int
i
;
CHECK_OBJ_NOTNULL
(
sp
,
SESS_MAGIC
);
CHECK_OBJ_NOTNULL
(
sp
,
SESS_MAGIC
);
AN
(
sp
->
wrk
->
vep
);
if
(
sp
->
wrk
->
is_gzip
&&
sp
->
wrk
->
do_gunzip
)
if
(
sp
->
wrk
->
is_gzip
&&
sp
->
wrk
->
do_gunzip
)
i
=
vfp_esi_bytes_gu
(
sp
,
htc
,
bytes
);
i
=
vfp_esi_bytes_gu
(
sp
,
htc
,
bytes
);
else
if
(
sp
->
wrk
->
is_gunzip
&&
sp
->
wrk
->
do_gzip
)
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)
...
@@ -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
);
i
=
vfp_esi_bytes_gg
(
sp
,
htc
,
bytes
);
else
else
i
=
vfp_esi_bytes_uu
(
sp
,
htc
,
bytes
);
i
=
vfp_esi_bytes_uu
(
sp
,
htc
,
bytes
);
AN
(
sp
->
wrk
->
vep
);
return
(
i
);
return
(
i
);
}
}
...
@@ -362,6 +365,7 @@ vfp_esi_end(struct sess *sp)
...
@@ -362,6 +365,7 @@ vfp_esi_end(struct sess *sp)
ssize_t
l
;
ssize_t
l
;
CHECK_OBJ_NOTNULL
(
sp
,
SESS_MAGIC
);
CHECK_OBJ_NOTNULL
(
sp
,
SESS_MAGIC
);
AN
(
sp
->
wrk
->
vep
);
vsb
=
VEP_Finish
(
sp
);
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