Add comment

This commit is contained in:
Tatsuhiro Tsujikawa 2013-07-20 00:21:07 +09:00
parent 30d2c86a7a
commit 3186dede72
1 changed files with 2 additions and 0 deletions

View File

@ -1214,6 +1214,8 @@ int nghttp2_session_send(nghttp2_session *session)
framebuflen == NGHTTP2_ERR_CREDENTIAL_PENDING) {
continue;
} else if(framebuflen < 0) {
/* TODO If the error comes from compressor, the connection
must be closed. */
if(item->frame_cat == NGHTTP2_CAT_CTRL &&
session->callbacks.on_frame_not_send_callback &&
nghttp2_is_non_fatal(framebuflen)) {