Update doc

This commit is contained in:
Tatsuhiro Tsujikawa 2017-01-26 23:40:12 +09:00
parent 2ae83e871b
commit 052f3a3871
1 changed files with 1 additions and 1 deletions

View File

@ -3566,7 +3566,7 @@ NGHTTP2_EXTERN int nghttp2_session_upgrade2(nghttp2_session *session,
* Serializes the SETTINGS values |iv| in the |buf|. The size of the * Serializes the SETTINGS values |iv| in the |buf|. The size of the
* |buf| is specified by |buflen|. The number of entries in the |iv| * |buf| is specified by |buflen|. The number of entries in the |iv|
* array is given by |niv|. The required space in |buf| for the |niv| * array is given by |niv|. The required space in |buf| for the |niv|
* entries is ``8*niv`` bytes and if the given buffer is too small, an * entries is ``6*niv`` bytes and if the given buffer is too small, an
* error is returned. This function is used mainly for creating a * error is returned. This function is used mainly for creating a
* SETTINGS payload to be sent with the ``HTTP2-Settings`` header * SETTINGS payload to be sent with the ``HTTP2-Settings`` header
* field in an HTTP Upgrade request. The data written in |buf| is NOT * field in an HTTP Upgrade request. The data written in |buf| is NOT