diff --git a/doc/api/http2.md b/doc/api/http2.md index 640776f5e86..7a4fbf56e53 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -1865,7 +1865,9 @@ added: v8.4.0 The `'unknownProtocol'` event is emitted when a connecting client fails to negotiate an allowed protocol (i.e. HTTP/2 or HTTP/1.1). The event handler receives the socket for handling. If no listener is registered for this event, -the connection is terminated. See the [Compatibility API][]. +the connection is terminated. A timeout may be specified using the +`'unknownProtocolTimeout'` option passed to [`http2.createSecureServer()`][]. +See the [Compatibility API][]. #### server.close([callback])