doc: fix HTTP req/res 'close' description

PR-URL: https://github.com/nodejs/node/pull/21047
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Robert Nagy 2018-05-30 22:55:45 +02:00 committed by Trivikram Kamat
parent 7a3bbbf41b
commit 8ab7ea6eed

View File

@ -1019,8 +1019,7 @@ interface. This is an [`EventEmitter`][] with the following events:
added: v0.6.7
-->
Indicates that the underlying connection was terminated before
[`response.end()`][] was called or able to flush.
Indicates that the underlying connection was terminated.
### Event: 'finish'
<!-- YAML
@ -1512,7 +1511,6 @@ added: v0.4.2
-->
Indicates that the underlying connection was closed.
Just like `'end'`, this event occurs only once per response.
### message.aborted
<!-- YAML