diff --git a/doc/api/errors.md b/doc/api/errors.md index 00e44618ef0dfd..dfea6b6051a351 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -1015,6 +1015,11 @@ provided. The `Http2Session` closed with a non-zero error code. + +### ERR_HTTP2_SETTINGS_CANCEL + +The `Http2Session` settings canceled. + ### ERR_HTTP2_SOCKET_BOUND @@ -1579,6 +1584,11 @@ recommended to use 2048 bits or larger for stronger security. A TLS/SSL handshake timed out. In this case, the server must also abort the connection. + +### ERR_TLS_RENEGOTIATE + +An attempt was made to renegotiate TLS session failed. + ### ERR_TLS_RENEGOTIATION_DISABLED diff --git a/lib/internal/errors.js b/lib/internal/errors.js index 24e1f34b25d96a..c370a174226c44 100644 --- a/lib/internal/errors.js +++ b/lib/internal/errors.js @@ -582,6 +582,7 @@ E('ERR_HTTP2_SEND_FILE', 'Directories cannot be sent', Error); E('ERR_HTTP2_SEND_FILE_NOSEEK', 'Offset or length can only be specified for regular files', Error); E('ERR_HTTP2_SESSION_ERROR', 'Session closed with error code %s', Error); +E('ERR_HTTP2_SETTINGS_CANCEL', 'HTTP2 session settings canceled', Error); E('ERR_HTTP2_SOCKET_BOUND', 'The socket is already bound to an Http2Session', Error); E('ERR_HTTP2_STATUS_101', @@ -787,6 +788,7 @@ E('ERR_TLS_CERT_ALTNAME_INVALID', 'Hostname/IP does not match certificate\'s altnames: %s', Error); E('ERR_TLS_DH_PARAM_SIZE', 'DH parameter size %s is less than 2048', Error); E('ERR_TLS_HANDSHAKE_TIMEOUT', 'TLS handshake timeout', Error); +E('ERR_TLS_RENEGOTIATE', 'Attempt to renegotiate TLS session failed', Error); E('ERR_TLS_RENEGOTIATION_DISABLED', 'TLS session renegotiation disabled for this socket', Error);