Commit a3762b5b authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Add doc about returning 0 from recv_callback

parent 87abc8b9
......@@ -804,7 +804,8 @@ typedef ssize_t (*nghttp2_send_callback)
* without blocking, it must return :enum:`NGHTTP2_ERR_WOULDBLOCK`. If
* it gets EOF before it reads any single byte, it must return
* :enum:`NGHTTP2_ERR_EOF`. For other errors, it must return
* :enum:`NGHTTP2_ERR_CALLBACK_FAILURE`.
* :enum:`NGHTTP2_ERR_CALLBACK_FAILURE`. Returning 0 is treated as
* :enum:`NGHTTP2_ERR_WOULDBLOCK`.
*/
typedef ssize_t (*nghttp2_recv_callback)
(nghttp2_session *session,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment