Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit59c5c5c

Browse files
robhoganmarco-ippolito
authored andcommitted
doc: note http.closeAllConnections excludes upgraded sockets
PR-URL:#53560Reviewed-By: Luigi Pinca <luigipinca@gmail.com>Reviewed-By: Paolo Insogna <paolo@cowtech.it>
1 parent5d03f6f commit59c5c5c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎doc/api/http.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1705,8 +1705,10 @@ setTimeout(() => {
17051705
added: v18.2.0
17061706
-->
17071707

1708-
Closes all connections connected to this server, including active connections
1709-
connected to this server which are sending a request or waiting for a response.
1708+
Closes all established HTTP(S) connections connected to this server, including
1709+
active connections connected to this server which are sending a request or
1710+
waiting for a response. This does_not_ destroy sockets upgraded to a different
1711+
protocol, such as WebSocket or HTTP/2.
17101712

17111713
>This is a forceful way of closing all connections and should be used with
17121714
>caution. Whenever using this in conjunction with`server.close`, calling this

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp