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 57618aa

Browse filesBrowse files
thatshaileshBethGriggs
authored andcommitted
errors: fix undefined HTTP2 and tls errors
Includes implementation of tls, HTTP2 error with documentation. Backport-PR-URL: #22850 PR-URL: #21564 Refs: #21440 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
1 parent 071a022 commit 57618aa
Copy full SHA for 57618aa

File tree

Expand file treeCollapse file tree

2 files changed

+6
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+6
-0
lines changed
Open diff view settings
Collapse file

‎doc/api/errors.md‎

Copy file name to clipboardExpand all lines: doc/api/errors.md
+5Lines changed: 5 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -826,6 +826,11 @@ send something other than a regular file.
826826

827827
The `Http2Session` closed with a non-zero error code.
828828

829+
<a id="ERR_HTTP2_SETTINGS_CANCEL"></a>
830+
### ERR_HTTP2_SETTINGS_CANCEL
831+
832+
The `Http2Session` settings canceled.
833+
829834
<a id="ERR_HTTP2_SOCKET_BOUND"></a>
830835
### ERR_HTTP2_SOCKET_BOUND
831836

Collapse file

‎lib/internal/errors.js‎

Copy file name to clipboardExpand all lines: lib/internal/errors.js
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ E('ERR_HTTP2_PSEUDOHEADER_NOT_ALLOWED', 'Cannot set HTTP/2 pseudo-headers');
333333
E('ERR_HTTP2_PUSH_DISABLED', 'HTTP/2 client has disabled push streams');
334334
E('ERR_HTTP2_SEND_FILE', 'Only regular files can be sent');
335335
E('ERR_HTTP2_SESSION_ERROR', 'Session closed with error code %s');
336+
E('ERR_HTTP2_SETTINGS_CANCEL', 'HTTP2 session settings canceled');
336337
E('ERR_HTTP2_SOCKET_BOUND',
337338
'The socket is already bound to an Http2Session');
338339
E('ERR_HTTP2_STATUS_101',

0 commit comments

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