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
db2c2ebb
Commit
db2c2ebb
authored
Jan 19, 2016
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move the pass-abandon up where it belongs.
parent
0290623e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
cache_req_fsm.c
bin/varnishd/cache/cache_req_fsm.c
+4
-0
storage_simple.c
bin/varnishd/storage/storage_simple.c
+0
-2
No files found.
bin/varnishd/cache/cache_req_fsm.c
View file @
db2c2ebb
...
@@ -209,6 +209,10 @@ cnt_deliver(struct worker *wrk, struct req *req)
...
@@ -209,6 +209,10 @@ cnt_deliver(struct worker *wrk, struct req *req)
cnt_vdp
(
req
,
bo
==
NULL
?
NULL
:
bo
->
boc
);
cnt_vdp
(
req
,
bo
==
NULL
?
NULL
:
bo
->
boc
);
/* pass+streaming, abandon fetch in case delivery terminated early */
if
(
bo
!=
NULL
&&
req
->
objcore
->
flags
&
OC_F_PASS
)
bo
->
abandon
=
1
;
VSLb_ts_req
(
req
,
"Resp"
,
W_TIM_real
(
wrk
));
VSLb_ts_req
(
req
,
"Resp"
,
W_TIM_real
(
wrk
));
if
(
http_HdrIs
(
req
->
resp
,
H_Connection
,
"close"
))
if
(
http_HdrIs
(
req
->
resp
,
H_Connection
,
"close"
))
...
...
bin/varnishd/storage/storage_simple.c
View file @
db2c2ebb
...
@@ -307,8 +307,6 @@ sml_iterator(struct worker *wrk, struct objcore *oc,
...
@@ -307,8 +307,6 @@ sml_iterator(struct worker *wrk, struct objcore *oc,
break
;
break
;
}
}
}
}
if
(
oc
->
flags
&
OC_F_PASS
)
bo
->
abandon
=
1
;
VBO_DerefBusyObj
(
wrk
,
&
bo
);
VBO_DerefBusyObj
(
wrk
,
&
bo
);
return
(
ret
);
return
(
ret
);
}
}
...
...
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