@@ -2431,10 +2431,7 @@ added: v8.4.0
24312431
24322432* ` callback ` {Function}
24332433
2434- Stops the server from establishing new sessions. This does not prevent new
2435- request streams from being created due to the persistent nature of HTTP/2
2436- sessions. To gracefully shut down the server, call [ ` http2session.close() ` ] [ ] on
2437- all active sessions.
2434+ Stops the server from establishing new sessions and streams.
24382435
24392436If ` callback ` is provided, it is not invoked until all active sessions have been
24402437closed, although the server has already stopped allowing new sessions. See
@@ -2715,10 +2712,7 @@ added: v8.4.0
27152712
27162713* ` callback ` {Function}
27172714
2718- Stops the server from establishing new sessions. This does not prevent new
2719- request streams from being created due to the persistent nature of HTTP/2
2720- sessions. To gracefully shut down the server, call [ ` http2session.close() ` ] [ ] on
2721- all active sessions.
2715+ Stops the server from establishing new sessions and streams.
27222716
27232717If ` callback ` is provided, it is not invoked until all active sessions have been
27242718closed, although the server has already stopped allowing new sessions. See
@@ -5043,7 +5037,6 @@ you need to implement any fall-back behavior yourself.
50435037[ `http2.Server` ] : #class-http2server
50445038[ `http2.createSecureServer()` ] : #http2createsecureserveroptions-onrequesthandler
50455039[ `http2.createServer()` ] : #http2createserveroptions-onrequesthandler
5046- [ `http2session.close()` ] : #http2sessionclosecallback
50475040[ `http2stream.pushStream()` ] : #http2streampushstreamheaders-options-callback
50485041[ `import()` ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import
50495042[ `net.Server.close()` ] : net.md#serverclosecallback
0 commit comments