From 5778e6f526e2399ca7d01e6599381ab83d6b3021 Mon Sep 17 00:00:00 2001 From: Anders Bakken Date: Mon, 10 Aug 2015 17:26:36 -0700 Subject: http2: discard frames with no SessionHandle Return 0 instead of NGHTTP2_ERR_CALLBACK_FAILURE if we can't locate the SessionHandle. Apparently mod_h2 will sometimes send a frame for a stream_id we're finished with. Use nghttp2_session_get_stream_user_data and nghttp2_session_set_stream_user_data to identify SessionHandles instead of a hash. Closes #372 --- lib/http.h | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/http.h') diff --git a/lib/http.h b/lib/http.h index 63ea4ace4..fe4f39bc6 100644 --- a/lib/http.h +++ b/lib/http.h @@ -215,7 +215,6 @@ struct http_conn { nghttp2_session_mem_recv */ /* this is a hash of all individual streams (SessionHandle structs) */ - struct curl_hash streamsh; struct h2settings settings; #else int unused; /* prevent a compiler warning */ -- cgit v1.2.3