Skip to content

Commit 8ab7ea6

Browse files
ronagtrivikr
authored andcommitted
doc: fix HTTP req/res 'close' description
PR-URL: #21047 Reviewed-By: James M Snell <[email protected]>
1 parent 7a3bbbf commit 8ab7ea6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

doc/api/http.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1019,8 +1019,7 @@ interface. This is an [`EventEmitter`][] with the following events:
10191019
added: v0.6.7
10201020
-->
10211021

1022-
Indicates that the underlying connection was terminated before
1023-
[`response.end()`][] was called or able to flush.
1022+
Indicates that the underlying connection was terminated.
10241023

10251024
### Event: 'finish'
10261025
<!-- YAML
@@ -1512,7 +1511,6 @@ added: v0.4.2
15121511
-->
15131512

15141513
Indicates that the underlying connection was closed.
1515-
Just like `'end'`, this event occurs only once per response.
15161514

15171515
### message.aborted
15181516
<!-- YAML

0 commit comments

Comments
 (0)