Mention about nghttp2_data_source_read_length_callback

This commit is contained in:
Tatsuhiro Tsujikawa 2017-02-08 00:40:47 +09:00
parent fd475e4b2f
commit 5f31c09410
1 changed files with 5 additions and 0 deletions

View File

@ -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`.