Remove NGHTTP2_ERR_CREDENTIAL_PENDING check

This commit is contained in:
Tatsuhiro Tsujikawa 2013-07-20 00:22:12 +09:00
parent 3186dede72
commit b5810479a4
1 changed files with 1 additions and 2 deletions

View File

@ -1210,8 +1210,7 @@ int nghttp2_session_send(nghttp2_session *session)
break; break;
} }
framebuflen = nghttp2_session_prep_frame(session, item); framebuflen = nghttp2_session_prep_frame(session, item);
if(framebuflen == NGHTTP2_ERR_DEFERRED || if(framebuflen == NGHTTP2_ERR_DEFERRED) {
framebuflen == NGHTTP2_ERR_CREDENTIAL_PENDING) {
continue; continue;
} else if(framebuflen < 0) { } else if(framebuflen < 0) {
/* TODO If the error comes from compressor, the connection /* TODO If the error comes from compressor, the connection