GeezerVison is showing github.com — errors: fix undefined HTTP2 and tls errors · nodejs/node@3fffc7e
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: doc/api/errors.md +10Lines changed: 10 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1014,6 +1014,11 @@ provided. | 1014 | 1014 |
| 1015 | 1015 | The `Http2Session` closed with a non-zero error code. | 1016 | 1016 |
| | 1017 | +<a id="ERR_HTTP2_SETTINGS_CANCEL"></a> | | 1018 | +### ERR_HTTP2_SETTINGS_CANCEL | | 1019 | + | | 1020 | +The `Http2Session` settings canceled. | | 1021 | + | 1017 | 1022 | <a id="ERR_HTTP2_SOCKET_BOUND"></a> | 1018 | 1023 | ### ERR_HTTP2_SOCKET_BOUND | 1019 | 1024 |
| @@ -1629,6 +1634,11 @@ recommended to use 2048 bits or larger for stronger security. | 1629 | 1634 | A TLS/SSL handshake timed out. In this case, the server must also abort the | 1630 | 1635 | connection. | 1631 | 1636 |
| | 1637 | +<a id="ERR_TLS_RENEGOTIATE"></a> | | 1638 | +### ERR_TLS_RENEGOTIATE | | 1639 | + | | 1640 | +An attempt to renegotiate the TLS session failed. | | 1641 | + | 1632 | 1642 | <a id="ERR_TLS_RENEGOTIATION_DISABLED"></a> | 1633 | 1643 | ### ERR_TLS_RENEGOTIATION_DISABLED | 1634 | 1644 |
| |
Collapse file Copy file name to clipboardExpand all lines: lib/internal/errors.js +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -585,6 +585,7 @@ E('ERR_HTTP2_SEND_FILE', 'Directories cannot be sent', Error); | 585 | 585 | E('ERR_HTTP2_SEND_FILE_NOSEEK', | 586 | 586 | 'Offset or length can only be specified for regular files', Error); | 587 | 587 | E('ERR_HTTP2_SESSION_ERROR', 'Session closed with error code %s', Error); | | 588 | +E('ERR_HTTP2_SETTINGS_CANCEL', 'HTTP2 session settings canceled', Error); | 588 | 589 | E('ERR_HTTP2_SOCKET_BOUND', | 589 | 590 | 'The socket is already bound to an Http2Session', Error); | 590 | 591 | E('ERR_HTTP2_STATUS_101', | @@ -812,6 +813,7 @@ E('ERR_TLS_CERT_ALTNAME_INVALID', | 812 | 813 | 'Hostname/IP does not match certificate\'s altnames: %s', Error); | 813 | 814 | E('ERR_TLS_DH_PARAM_SIZE', 'DH parameter size %s is less than 2048', Error); | 814 | 815 | E('ERR_TLS_HANDSHAKE_TIMEOUT', 'TLS handshake timeout', Error); | | 816 | +E('ERR_TLS_RENEGOTIATE', 'Attempt to renegotiate TLS session failed', Error); | 815 | 817 | E('ERR_TLS_RENEGOTIATION_DISABLED', | 816 | 818 | 'TLS session renegotiation disabled for this socket', Error); | 817 | 819 |
| |
|