[master] 7910232 Reset the headers when we get a HEADERS frame

Poul-Henning Kamp phk at FreeBSD.org
Sun Feb 26 23:20:05 CET 2017


commit 791023296fcce9c5ca50b0f9e6e70a2b2ec5ad49
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Sun Feb 26 22:17:40 2017 +0000

    Reset the headers when we get a HEADERS frame

diff --git a/bin/varnishtest/vtc_http2.c b/bin/varnishtest/vtc_http2.c
index 15fe757..6b8f7d7 100644
--- a/bin/varnishtest/vtc_http2.c
+++ b/bin/varnishtest/vtc_http2.c
@@ -787,6 +787,7 @@ receive_frame(void *priv)
 					else
 						hdrs = s->resp;
 				}
+				hdrs[0].t = 0;
 				AZ(vsb);
 				vsb = VSB_new_auto();
 				/*FALLTHROUGH*/



More information about the varnish-commit mailing list