From 15ea11d5db1a62ecc0ce74792b9b1b53358ec9b2 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 12 Jan 2016 21:05:05 +0900 Subject: [PATCH] Fix bug that HTTP upgrade was not working --- lib/nghttp2_session.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/nghttp2_session.c b/lib/nghttp2_session.c index 74c2aefb..fdeecbdf 100644 --- a/lib/nghttp2_session.c +++ b/lib/nghttp2_session.c @@ -6569,6 +6569,7 @@ static int nghttp2_session_upgrade_internal(nghttp2_session *session, session->last_proc_stream_id = 1; } else { nghttp2_stream_shutdown(stream, NGHTTP2_SHUT_WR); + session->sent_stream_id = 1; session->next_stream_id += 2; } return 0;