Skip to content

Commit

Permalink
deps: update ngtcp2 to 1.1.0
Browse files Browse the repository at this point in the history
PR-URL: #51319
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
nodejs-github-bot authored and marco-ippolito committed May 2, 2024
1 parent 0a08c4a commit dde9e08
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 10 deletions.
28 changes: 20 additions & 8 deletions deps/ngtcp2/ngtcp2/lib/includes/ngtcp2/ngtcp2.h
Original file line number Diff line number Diff line change
Expand Up @@ -4287,7 +4287,13 @@ NGTCP2_EXTERN int ngtcp2_conn_open_uni_stream(ngtcp2_conn *conn,
* deletion is done when the remote endpoint sends acknowledgement.
* Calling this function is equivalent to call
* `ngtcp2_conn_shutdown_stream_read`, and
* `ngtcp2_conn_shutdown_stream_write` sequentially.
* `ngtcp2_conn_shutdown_stream_write` sequentially with the following
* differences. If |stream_id| refers to a local unidirectional
* stream, this function only shutdowns write side of the stream. If
* |stream_id| refers to a remote unidirectional stream, this function
* only shutdowns read side of the stream.
*
* |flags| is currently unused, and should be set to 0.
*
* This function returns 0 if it succeeds, or one of the following
* negative error codes:
Expand All @@ -4305,9 +4311,11 @@ NGTCP2_EXTERN int ngtcp2_conn_shutdown_stream(ngtcp2_conn *conn,
* `ngtcp2_conn_shutdown_stream_write` closes write-side of stream
* denoted by |stream_id| abruptly. |app_error_code| is one of
* application error codes, and indicates the reason of shutdown. If
* this function succeeds, no application data is sent to the remote
* endpoint. It discards all data which has not been acknowledged
* yet.
* this function succeeds, no further application data is sent to the
* remote endpoint. It discards all data which has not been
* acknowledged yet.
*
* |flags| is currently unused, and should be set to 0.
*
* This function returns 0 if it succeeds, or one of the following
* negative error codes:
Expand All @@ -4325,8 +4333,10 @@ NGTCP2_EXTERN int ngtcp2_conn_shutdown_stream_write(ngtcp2_conn *conn,
* `ngtcp2_conn_shutdown_stream_read` closes read-side of stream
* denoted by |stream_id| abruptly. |app_error_code| is one of
* application error codes, and indicates the reason of shutdown. If
* this function succeeds, no application data is forwarded to an
* application layer.
* this function succeeds, no further application data is forwarded to
* an application layer.
*
* |flags| is currently unused, and should be set to 0.
*
* This function returns 0 if it succeeds, or one of the following
* negative error codes:
Expand Down Expand Up @@ -4649,8 +4659,10 @@ NGTCP2_EXTERN int ngtcp2_conn_is_in_draining_period(ngtcp2_conn *conn);
/**
* @function
*
* `ngtcp2_conn_extend_max_stream_offset` extends stream's max stream
* data value by |datalen|.
* `ngtcp2_conn_extend_max_stream_offset` extends the maximum stream
* data that a remote endpoint can send by |datalen|. |stream_id|
* specifies the stream ID. This function only extends stream-level
* flow control window.
*
* This function returns 0 if it succeeds, or one of the following
* negative error codes:
Expand Down
4 changes: 2 additions & 2 deletions deps/ngtcp2/ngtcp2/lib/includes/ngtcp2/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
*
* Version number of the ngtcp2 library release.
*/
#define NGTCP2_VERSION "0.8.1"
#define NGTCP2_VERSION "1.1.0"

/**
* @macro
Expand All @@ -46,6 +46,6 @@
* number, 8 bits for minor and 8 bits for patch. Version 1.2.3
* becomes 0x010203.
*/
#define NGTCP2_VERSION_NUM 0x000801
#define NGTCP2_VERSION_NUM 0x010100

#endif /* VERSION_H */

0 comments on commit dde9e08

Please sign in to comment.