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
654f0b5f
Commit
654f0b5f
authored
Apr 16, 2019
by
Dridi Boukelmoune
Committed by
Nils Goroll
Apr 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clear the v1l after resetting the workspace
parent
0cc14660
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
cache_http1_line.c
bin/varnishd/http1/cache_http1_line.c
+2
-1
No files found.
bin/varnishd/http1/cache_http1_line.c
View file @
654f0b5f
...
...
@@ -138,6 +138,7 @@ V1L_Close(struct worker *wrk, uint64_t *cnt)
if
(
v1l
->
ws
->
r
)
WS_Release
(
v1l
->
ws
,
0
);
WS_Reset
(
v1l
->
ws
,
v1l
->
res
);
ZERO_OBJ
(
v1l
,
sizeof
*
v1l
);
return
(
u
);
}
...
...
@@ -278,7 +279,7 @@ V1L_Chunked(const struct worker *wrk)
assert
(
v1l
->
ciov
==
v1l
->
siov
);
assert
(
v1l
->
siov
>=
3
);
/*
* If there
are not
space for chunked header, a chunk of data and
* If there
is no
space for chunked header, a chunk of data and
* a chunk tail, we might as well flush right away.
*/
if
(
v1l
->
niov
+
3
>=
v1l
->
siov
)
...
...
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