Merge branch 'master' into draft-10

This commit is contained in:
Tatsuhiro Tsujikawa 2014-02-11 21:33:49 +09:00
commit 067a4d05c3
1 changed files with 4 additions and 0 deletions

View File

@ -1561,6 +1561,10 @@ void test_nghttp2_session_on_push_promise_received(void)
memset(session->iframe.buf, 0, 4);
session->iframe.buflen = 4;
stream = nghttp2_session_open_stream(session, 1, NGHTTP2_STREAM_FLAG_NONE,
NGHTTP2_PRI_DEFAULT,
NGHTTP2_STREAM_OPENING, NULL);
/* Same ID twice */
stream->state = NGHTTP2_STREAM_OPENING;