From 5bc5210b923697ab53f0ac0aa8616e28b16b73e9 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Wed, 16 Oct 2013 12:32:47 +0200 Subject: [PATCH] doc: http: reword IncomingMessage 'close' event The bit that says "before response.end() was called or able to flush" doesn't apply to incoming streams. Fixes #6359. --- doc/api/http.markdown | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/doc/api/http.markdown b/doc/api/http.markdown index 624b9a9..88f313d 100644 --- a/doc/api/http.markdown +++ b/doc/api/http.markdown @@ -772,11 +772,8 @@ following additional events, methods, and properties. `function () { }` -Indicates that the underlaying connection was terminated before -`response.end()` was called or able to flush. - -Just like `'end'`, this event occurs only once per response. See -[http.ServerResponse][]'s `'close'` event for more information. +Indicates that the underlaying connection was closed. +Just like `'end'`, this event occurs only once per response. ### message.httpVersion -- 2.7.4