Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P3083
Random fix attempt!
Active
Public
Actions
Authored by
BBlack
on May 13 2016, 3:25 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Project Tags
Traffic
Referenced Files
F4006252: Random fix attempt!
May 13 2016, 3:25 PM
2016-05-13 15:25:34 (UTC+0)
Subscribers
None
diff --git a/bin/varnishd/cache/cache_req_fsm.c b/bin/varnishd/cache/cache_req_fsm.c
index 1a59ae2..6c40163 100644
--- a/bin/varnishd/cache/cache_req_fsm.c
+++ b/bin/varnishd/cache/cache_req_fsm.c
@@ -58,7 +58,7 @@ cnt_vdp(struct req *req, struct busyobj *bo)
CHECK_OBJ_NOTNULL(req->transport, TRANSPORT_MAGIC);
resp_len = http_GetContentLength(req->resp);
- if (bo != NULL)
+ if (bo != NULL && !bo->was_304)
req->resp_len = resp_len;
else
req->resp_len = ObjGetLen(req->wrk, req->objcore);
Event Timeline
BBlack
created this paste.
May 13 2016, 3:25 PM
2016-05-13 15:25:34 (UTC+0)
Ghuron
mentioned this in
T232565: case-sensitive equivalent of haswbstatement
.
Oct 7 2022, 5:34 PM
2022-10-07 17:34:34 (UTC+0)
Log In to Comment