Fix bug that nghttp2_session_find_stream(session, 0) returned NULL

Previously, nghttp2_session_find_stream(session, 0) returned NULL
despite the fact that documentation said that it should return root
stream.  Now it is corrected, and it returns root stream as
documented.
This commit is contained in:
Tatsuhiro Tsujikawa
2015-11-24 22:30:12 +09:00
parent c44ee44cc3
commit b53b1381b7
4 changed files with 35 additions and 0 deletions

View File

@@ -117,6 +117,7 @@ void test_nghttp2_session_stream_attach_item(void);
void test_nghttp2_session_stream_attach_item_subtree(void);
void test_nghttp2_session_stream_get_state(void);
void test_nghttp2_session_stream_get_something(void);
void test_nghttp2_session_find_stream(void);
void test_nghttp2_session_keep_closed_stream(void);
void test_nghttp2_session_keep_idle_stream(void);
void test_nghttp2_session_detach_idle_stream(void);