Add comment
This commit is contained in:
parent
30d2c86a7a
commit
3186dede72
|
@ -1214,6 +1214,8 @@ int nghttp2_session_send(nghttp2_session *session)
|
||||||
framebuflen == NGHTTP2_ERR_CREDENTIAL_PENDING) {
|
framebuflen == NGHTTP2_ERR_CREDENTIAL_PENDING) {
|
||||||
continue;
|
continue;
|
||||||
} else if(framebuflen < 0) {
|
} else if(framebuflen < 0) {
|
||||||
|
/* TODO If the error comes from compressor, the connection
|
||||||
|
must be closed. */
|
||||||
if(item->frame_cat == NGHTTP2_CAT_CTRL &&
|
if(item->frame_cat == NGHTTP2_CAT_CTRL &&
|
||||||
session->callbacks.on_frame_not_send_callback &&
|
session->callbacks.on_frame_not_send_callback &&
|
||||||
nghttp2_is_non_fatal(framebuflen)) {
|
nghttp2_is_non_fatal(framebuflen)) {
|
||||||
|
|
Loading…
Reference in New Issue