[master] 4deb2b8 Make sure that we also report the obj.status in vsl
Poul-Henning Kamp
phk at FreeBSD.org
Thu Jan 2 14:27:59 CET 2014
commit 4deb2b8e65c5f02e7461cb1613b717d38778a675
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Thu Jan 2 13:27:40 2014 +0000
Make sure that we also report the obj.status in vsl
diff --git a/bin/varnishd/cache/cache_http.c b/bin/varnishd/cache/cache_http.c
index b6f3916..d7053cc 100644
--- a/bin/varnishd/cache/cache_http.c
+++ b/bin/varnishd/cache/cache_http.c
@@ -609,6 +609,7 @@ http_FilterResp(const struct http *fm, struct http *to, unsigned how)
CHECK_OBJ_NOTNULL(to, HTTP_MAGIC);
http_SetH(to, HTTP_HDR_PROTO, "HTTP/1.1");
to->status = fm->status;
+ http_linkh(to, fm, HTTP_HDR_STATUS);
http_linkh(to, fm, HTTP_HDR_RESPONSE);
http_filterfields(to, fm, how);
}
More information about the varnish-commit
mailing list