We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2b103a commit abeee99Copy full SHA for abeee99
doc/api/http.md
@@ -1308,7 +1308,8 @@ changes:
1308
If a client connection emits an `'error'` event, it will be forwarded here.
1309
Listener of this event is responsible for closing/destroying the underlying
1310
socket. For example, one may wish to more gracefully close the socket with a
1311
-custom HTTP response instead of abruptly severing the connection.
+custom HTTP response instead of abruptly severing the connection. The socket
1312
+**must be closed or destroyed** before the listener ends.
1313
1314
This event is guaranteed to be passed an instance of the {net.Socket} class,
1315
a subclass of {stream.Duplex}, unless the user specifies a socket
0 commit comments