Skip to content

Commit 2359823

Browse files
ronagtargos
authored andcommitted
doc: fix HTTP req/res 'close' description
PR-URL: #21047 Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 21d73a5 commit 2359823

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

doc/api/http.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,8 +1013,7 @@ interface. This is an [`EventEmitter`][] with the following events:
10131013
added: v0.6.7
10141014
-->
10151015

1016-
Indicates that the underlying connection was terminated before
1017-
[`response.end()`][] was called or able to flush.
1016+
Indicates that the underlying connection was terminated.
10181017

10191018
### Event: 'finish'
10201019
<!-- YAML
@@ -1506,7 +1505,6 @@ added: v0.4.2
15061505
-->
15071506

15081507
Indicates that the underlying connection was closed.
1509-
Just like `'end'`, this event occurs only once per response.
15101508

15111509
### message.aborted
15121510
<!-- YAML

0 commit comments

Comments
 (0)