From e892b9810e9f97a3ebaf993e23c385a93c6ea551 Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Tue, 19 Sep 2017 14:23:23 +0200 Subject: [PATCH] doc: fix 'aborted' event documentation The `'aborted'` event is only emitted on `http.IncomingMessage` instances. PR-URL: https://github.com/nodejs/node/pull/15471 Fixes: https://github.com/nodejs/node/issues/15259 Reviewed-By: Matteo Collina Reviewed-By: Minwoo Jung Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Franziska Hinkelmann Reviewed-By: Ruben Bridgewater --- doc/api/http.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/doc/api/http.md b/doc/api/http.md index 9c5022ffa7..281569b40a 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -321,14 +321,6 @@ added: v1.4.1 Emitted when the request has been aborted by the client. This event is only emitted on the first call to `abort()`. -### Event: 'aborted' - - -Emitted when the request has been aborted by the server and the network -socket has closed. - ### Event: 'connect' -Emitted when the request has been aborted by the client and the network -socket has closed. +Emitted when the request has been aborted and the network socket has closed. ### Event: 'close'