@@ -2479,10 +2479,7 @@ added: v8.4.0
24792479
24802480* ` callback ` {Function}
24812481
2482- Stops the server from establishing new sessions. This does not prevent new
2483- request streams from being created due to the persistent nature of HTTP/2
2484- sessions. To gracefully shut down the server, call [ ` http2session.close() ` ] [ ] on
2485- all active sessions.
2482+ Stops the server from establishing new sessions and streams.
24862483
24872484If ` callback ` is provided, it is not invoked until all active sessions have been
24882485closed, although the server has already stopped allowing new sessions. See
@@ -2763,10 +2760,7 @@ added: v8.4.0
27632760
27642761* ` callback ` {Function}
27652762
2766- Stops the server from establishing new sessions. This does not prevent new
2767- request streams from being created due to the persistent nature of HTTP/2
2768- sessions. To gracefully shut down the server, call [ ` http2session.close() ` ] [ ] on
2769- all active sessions.
2763+ Stops the server from establishing new sessions and streams.
27702764
27712765If ` callback ` is provided, it is not invoked until all active sessions have been
27722766closed, although the server has already stopped allowing new sessions. See
@@ -5106,7 +5100,6 @@ you need to implement any fall-back behavior yourself.
51065100[ `http2.Server` ] : #class-http2server
51075101[ `http2.createSecureServer()` ] : #http2createsecureserveroptions-onrequesthandler
51085102[ `http2.createServer()` ] : #http2createserveroptions-onrequesthandler
5109- [ `http2session.close()` ] : #http2sessionclosecallback
51105103[ `http2stream.pushStream()` ] : #http2streampushstreamheaders-options-callback
51115104[ `import()` ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import
51125105[ `net.Server.close()` ] : net.md#serverclosecallback
0 commit comments