@@ -2441,10 +2441,7 @@ added: v8.4.0
24412441
24422442* ` callback ` {Function}
24432443
2444- Stops the server from establishing new sessions. This does not prevent new
2445- request streams from being created due to the persistent nature of HTTP/2
2446- sessions. To gracefully shut down the server, call [ ` http2session.close() ` ] [ ] on
2447- all active sessions.
2444+ Stops the server from establishing new sessions and streams.
24482445
24492446If ` callback ` is provided, it is not invoked until all active sessions have been
24502447closed, although the server has already stopped allowing new sessions. See
@@ -2725,10 +2722,7 @@ added: v8.4.0
27252722
27262723* ` callback ` {Function}
27272724
2728- Stops the server from establishing new sessions. This does not prevent new
2729- request streams from being created due to the persistent nature of HTTP/2
2730- sessions. To gracefully shut down the server, call [ ` http2session.close() ` ] [ ] on
2731- all active sessions.
2725+ Stops the server from establishing new sessions and streams.
27322726
27332727If ` callback ` is provided, it is not invoked until all active sessions have been
27342728closed, although the server has already stopped allowing new sessions. See
@@ -5053,7 +5047,6 @@ you need to implement any fall-back behavior yourself.
50535047[ `http2.Server` ] : #class-http2server
50545048[ `http2.createSecureServer()` ] : #http2createsecureserveroptions-onrequesthandler
50555049[ `http2.createServer()` ] : #http2createserveroptions-onrequesthandler
5056- [ `http2session.close()` ] : #http2sessionclosecallback
50575050[ `http2stream.pushStream()` ] : #http2streampushstreamheaders-options-callback
50585051[ `import()` ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import
50595052[ `net.Server.close()` ] : net.md#serverclosecallback
0 commit comments