Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 75073c5

Browse filesBrowse files
jasnelltargos
authored andcommitted
quic: start adding in the internal quic js api
While the external API for QUIC is expected to be the WebTransport API primarily, this provides the internal API for QUIC that aligns with the native C++ QUIC components. PR-URL: #53256 Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
1 parent c988e7e commit 75073c5
Copy full SHA for 75073c5

File tree

Expand file treeCollapse file tree

12 files changed

+3187
-373
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

12 files changed

+3187
-373
lines changed
Open diff view settings
Collapse file

‎.nycrc‎

Copy file name to clipboardExpand all lines: .nycrc
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"test/**",
55
"tools/**",
66
"benchmark/**",
7-
"deps/**"
7+
"deps/**",
88
],
99
"reporter": [
1010
"html",
Collapse file

‎doc/api/errors.md‎

Copy file name to clipboardExpand all lines: doc/api/errors.md
+36Lines changed: 36 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -3622,6 +3622,42 @@ removed: v10.0.0
36223622

36233623
The `node:repl` module was unable to parse data from the REPL history file.
36243624

3625+
<a id="ERR_QUIC_CONNECTION_FAILED"></a>
3626+
3627+
### `ERR_QUIC_CONNECTION_FAILED`
3628+
3629+
<!-- YAML
3630+
added: REPLACEME
3631+
-->
3632+
3633+
> Stability: 1 - Experimental
3634+
3635+
Establishing a QUIC connection failed.
3636+
3637+
<a id="ERR_QUIC_ENDPOINT_CLOSED"></a>
3638+
3639+
### `ERR_QUIC_ENDPOINT_CLOSED`
3640+
3641+
<!-- YAML
3642+
added: REPLACEME
3643+
-->
3644+
3645+
> Stability: 1 - Experimental
3646+
3647+
A QUIC Endpoint closed with an error.
3648+
3649+
<a id="ERR_QUIC_OPEN_STREAM_FAILED"></a>
3650+
3651+
### `ERR_QUIC_OPEN_STREAM_FAILED`
3652+
3653+
<!-- YAML
3654+
added: REPLACEME
3655+
-->
3656+
3657+
> Stability: 1 - Experimental
3658+
3659+
Opening a QUIC stream failed.
3660+
36253661
<a id="ERR_SOCKET_CANNOT_SEND"></a>
36263662

36273663
### `ERR_SOCKET_CANNOT_SEND`
Collapse file

‎lib/internal/errors.js‎

Copy file name to clipboardExpand all lines: lib/internal/errors.js
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1648,6 +1648,9 @@ E('ERR_PARSE_ARGS_UNKNOWN_OPTION', (option, allowPositionals) => {
16481648
E('ERR_PERFORMANCE_INVALID_TIMESTAMP',
16491649
'%d is not a valid timestamp', TypeError);
16501650
E('ERR_PERFORMANCE_MEASURE_INVALID_OPTIONS', '%s', TypeError);
1651+
E('ERR_QUIC_CONNECTION_FAILED', 'QUIC connection failed', Error);
1652+
E('ERR_QUIC_ENDPOINT_CLOSED', 'QUIC endpoint closed: %s (%d)', Error);
1653+
E('ERR_QUIC_OPEN_STREAM_FAILED', 'Failed to open QUIC stream', Error);
16511654
E('ERR_REQUIRE_CYCLE_MODULE', '%s', Error);
16521655
E('ERR_REQUIRE_ESM',
16531656
function(filename, hasEsmSyntax, parentPath = null, packageJsonPath = null) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.