Skip to content

Commit 7f6db65

Browse files
committed
Revert "doc: fix HTTP req/res 'close' description"
This reverts commit 8ab7ea6.
1 parent 174d36d commit 7f6db65

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/api/http.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,8 @@ interface. This is an [`EventEmitter`][] with the following events:
10151015
added: v0.6.7
10161016
-->
10171017

1018-
Indicates that the underlying connection was terminated.
1018+
Indicates that the underlying connection was terminated before
1019+
[`response.end()`][] was called or able to flush.
10191020

10201021
### Event: 'finish'
10211022
<!-- YAML
@@ -1505,6 +1506,7 @@ added: v0.4.2
15051506
-->
15061507

15071508
Indicates that the underlying connection was closed.
1509+
Just like `'end'`, this event occurs only once per response.
15081510

15091511
### message.aborted
15101512
<!-- YAML

0 commit comments

Comments
 (0)