doc: http: reword IncomingMessage 'close' event
authorBen Noordhuis <info@bnoordhuis.nl>
Wed, 16 Oct 2013 10:32:47 +0000 (12:32 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Wed, 16 Oct 2013 10:56:13 +0000 (12:56 +0200)
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

index 624b9a9..88f313d 100644 (file)
@@ -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