Update doc

This commit is contained in:
Tatsuhiro Tsujikawa 2014-10-09 21:40:26 +09:00
parent 80dcb565eb
commit f2bfe623fc
1 changed files with 5 additions and 3 deletions

View File

@ -26,6 +26,8 @@ do not send client connection preface
responsible to send it before sending any HTTP/2 frames using these responsible to send it before sending any HTTP/2 frames using these
functions if :type:`nghttp2_session` is configured as client. functions if :type:`nghttp2_session` is configured as client.
Similarly, `nghttp2_session_recv()` and `nghttp2_session_mem_recv()` Similarly, `nghttp2_session_recv()` and `nghttp2_session_mem_recv()`
do not consume client connection preface. The applications are do not consume client connection preface unless
responsible to receive it before calling these functions if `nghttp2_option_set_recv_client_preface()` is used with nonzero option
:type:`nghttp2_session` is configured as server. value. The applications are responsible to receive it before calling
these functions if :type:`nghttp2_session` is configured as server and
`nghttp2_option_set_recv_client_preface()` is not used.