Fix bug header block is not ignored as properly

This commit is contained in:
Tatsuhiro Tsujikawa 2014-01-30 21:26:18 +09:00
parent ab684a9f30
commit 2402b46cf3
1 changed files with 4 additions and 0 deletions

View File

@ -3446,6 +3446,10 @@ ssize_t nghttp2_session_mem_recv(nghttp2_session *session,
return rv;
}
busy = 1;
if(rv == NGHTTP2_ERR_IGN_HEADER_BLOCK) {
iframe->state = NGHTTP2_IB_IGN_HEADER_BLOCK;
break;
}
iframe->state = NGHTTP2_IB_READ_HEADER_BLOCK;
break;
case NGHTTP2_PRIORITY: