[5.1] b2ff51b Remove this http_Teardown() entirely, it doesn't belong here.

Poul-Henning Kamp phk at FreeBSD.org
Mon Apr 10 13:59:09 CEST 2017


commit b2ff51b0680d59091632179e9091b8bf90026194
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu Apr 6 13:44:34 2017 +0000

    Remove this http_Teardown() entirely, it doesn't belong here.

diff --git a/bin/varnishd/http2/cache_http2_hpack.c b/bin/varnishd/http2/cache_http2_hpack.c
index a7fe43d..460b43f 100644
--- a/bin/varnishd/http2/cache_http2_hpack.c
+++ b/bin/varnishd/http2/cache_http2_hpack.c
@@ -308,7 +308,6 @@ h2h_decode_bytes(struct h2_sess *h2, struct h2h_decode *d,
 			d->out = d->reset;
 			d->out_l = hp->ws->r - d->out;
 			d->out_u = 0;
-			http_Teardown(hp);
 			assert(d->out_u < d->out_l);
 		} else if (d->error)
 			break;



More information about the varnish-commit mailing list