GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: update `Http2Server.close` & `Http2SecureServer.close` · nodejs/node@ff537ba

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • http2.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/http2.md‎

Copy file name to clipboardExpand all lines: doc/api/http2.md
+2-9Lines changed: 2 additions & 9 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -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

24492446
If `callback` is provided, it is not invoked until all active sessions have been
24502447
closed, 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

27332727
If `callback` is provided, it is not invoked until all active sessions have been
27342728
closed, 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

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.