From 5f31c09410e124da3001239984bd6ad016062885 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 8 Feb 2017 00:40:47 +0900 Subject: [PATCH] Mention about nghttp2_data_source_read_length_callback --- lib/includes/nghttp2/nghttp2.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/includes/nghttp2/nghttp2.h b/lib/includes/nghttp2/nghttp2.h index aa7bbb7f..be9b2ef5 100644 --- a/lib/includes/nghttp2/nghttp2.h +++ b/lib/includes/nghttp2/nghttp2.h @@ -863,6 +863,11 @@ typedef enum { * the outgoing queue temporarily. To move back deferred DATA frame * to outgoing queue, call `nghttp2_session_resume_data()`. * + * By default, |length| is limited to 16KiB at maximum. If peer + * allows larger frames, application can enlarge transmission buffer + * size. See :type:`nghttp2_data_source_read_length_callback` for + * more details. + * * If the application just wants to return from * `nghttp2_session_send()` or `nghttp2_session_mem_send()` without * sending anything, return :enum:`NGHTTP2_ERR_PAUSE`.