From f2bfe623fc74ca776b89e071462e5388d5627c6e Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 9 Oct 2014 21:40:26 +0900 Subject: [PATCH] Update doc --- doc/apiref-header.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/apiref-header.rst b/doc/apiref-header.rst index a8a1db58..05116ca7 100644 --- a/doc/apiref-header.rst +++ b/doc/apiref-header.rst @@ -26,6 +26,8 @@ do not send client connection preface responsible to send it before sending any HTTP/2 frames using these functions if :type:`nghttp2_session` is configured as client. Similarly, `nghttp2_session_recv()` and `nghttp2_session_mem_recv()` -do not consume client connection preface. The applications are -responsible to receive it before calling these functions if -:type:`nghttp2_session` is configured as server. +do not consume client connection preface unless +`nghttp2_option_set_recv_client_preface()` is used with nonzero option +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.