From cf9a7b710e7249489e062f556a11c005157acfbb 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. Fixes: https://github.com/nodejs/node/issues/15259 --- 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 50fa3e1135ad78..a207906728d5d3 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'