[master] 032db57bf Polish
Federico G. Schwindt
fgsch at lodoss.net
Fri Jan 4 00:16:07 UTC 2019
commit 032db57bfb1bb76e1d38316bcffd581be1b102f4
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Fri Jan 4 00:13:33 2019 +0000
Polish
diff --git a/bin/varnishd/cache/cache_vrt_filter.c b/bin/varnishd/cache/cache_vrt_filter.c
index 82540cc0d..5e83a89a7 100644
--- a/bin/varnishd/cache/cache_vrt_filter.c
+++ b/bin/varnishd/cache/cache_vrt_filter.c
@@ -354,7 +354,6 @@ static void v_matchproto_(filter_list_t)
resp_default_filter_list(void *arg, struct vsb *vsb)
{
struct req *req;
- const char *r;
CAST_OBJ_NOTNULL(req, arg, REQ_MAGIC);
@@ -369,7 +368,7 @@ resp_default_filter_list(void *arg, struct vsb *vsb)
if (cache_param->http_range_support &&
http_GetStatus(req->resp) == 200 &&
- http_GetHdr(req->http, H_Range, &r))
+ http_GetHdr(req->http, H_Range, NULL))
VSB_cat(vsb, " range");
}
diff --git a/bin/varnishd/http2/cache_http2_proto.c b/bin/varnishd/http2/cache_http2_proto.c
index d71b6949a..ee24e65c5 100644
--- a/bin/varnishd/http2/cache_http2_proto.c
+++ b/bin/varnishd/http2/cache_http2_proto.c
@@ -561,7 +561,6 @@ h2_end_headers(struct worker *wrk, struct h2_sess *h2,
struct req *req, struct h2_req *r2)
{
h2_error h2e;
- const char *b;
ASSERT_RXTHR(h2);
assert(r2->state == H2_S_OPEN);
@@ -588,7 +587,7 @@ h2_end_headers(struct worker *wrk, struct h2_sess *h2,
http_CollectHdrSep(req->http, H_Cookie, "; "); // rfc7540,l,3114,3120
if (req->req_body_status == REQ_BODY_INIT) {
- if (!http_GetHdr(req->http, H_Content_Length, &b))
+ if (!http_GetHdr(req->http, H_Content_Length, NULL))
req->req_body_status = REQ_BODY_WITHOUT_LEN;
else
req->req_body_status = REQ_BODY_WITH_LEN;
More information about the varnish-commit
mailing list