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