From 3186dede72d9d0cdea5900c620f8c49764725897 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 20 Jul 2013 00:21:07 +0900 Subject: [PATCH] Add comment --- lib/nghttp2_session.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/nghttp2_session.c b/lib/nghttp2_session.c index a1b70361..6cc1fb41 100644 --- a/lib/nghttp2_session.c +++ b/lib/nghttp2_session.c @@ -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)) {