[master] d5ce30f Drop the extra 100s timeout_idle for h2 frames

Dag Haavi Finstad daghf at varnish-software.com
Tue Oct 3 14:10:07 UTC 2017


commit d5ce30f1f7980ec7cad286f64c4620784a8839f2
Author: Dag Haavi Finstad <daghf at varnish-software.com>
Date:   Tue Oct 3 16:08:55 2017 +0200

    Drop the extra 100s timeout_idle for h2 frames

diff --git a/bin/varnishd/http2/cache_http2_proto.c b/bin/varnishd/http2/cache_http2_proto.c
index 06353d8..1bc22b7 100644
--- a/bin/varnishd/http2/cache_http2_proto.c
+++ b/bin/varnishd/http2/cache_http2_proto.c
@@ -882,7 +882,7 @@ h2_rxframe(struct worker *wrk, struct h2_sess *h2)
 	h2->sess->t_idle = VTIM_real();
 	hs = HTC_RxStuff(h2->htc, h2_frame_complete,
 	    NULL, NULL, NAN,
-	    h2->sess->t_idle + cache_param->timeout_idle + 100,
+	    h2->sess->t_idle + cache_param->timeout_idle,
 	    16384 + 9);					// rfc7540,l,4228,4228
 	if (hs != HTC_S_COMPLETE) {
 		Lck_Lock(&h2->sess->mtx);


More information about the varnish-commit mailing list