[master] b3691b3 Tidy up
Dag Haavi Finstad
daghf at varnish-software.com
Thu Mar 8 13:56:06 UTC 2018
commit b3691b396c0da62ef355d3c67aa6715eedf2fb42
Author: Dag Haavi Finstad <daghf at varnish-software.com>
Date: Thu Mar 8 14:55:29 2018 +0100
Tidy up
diff --git a/bin/varnishd/http2/cache_http2_proto.c b/bin/varnishd/http2/cache_http2_proto.c
index 1425084..542a10e 100644
--- a/bin/varnishd/http2/cache_http2_proto.c
+++ b/bin/varnishd/http2/cache_http2_proto.c
@@ -271,7 +271,7 @@ h2_rx_ping(struct worker *wrk, struct h2_sess *h2, struct h2_req *r2)
{
ASSERT_RXTHR(h2);
- (void)r2;
+
if (h2->rxf_len != 8) // rfc7540,l,2364,2366
return (H2CE_FRAME_SIZE_ERROR);
AZ(h2->rxf_stream); // rfc7540,l,2359,2362
More information about the varnish-commit
mailing list