summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2013-10-16 12:32:47 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2013-10-16 12:56:13 +0200
commit5bc5210b923697ab53f0ac0aa8616e28b16b73e9 (patch)
treeb68492c7bd3abfa03f5ba9f4e11666db817527bc
parent5ef03bc3eed4da297ffabafc633b07e4f0171861 (diff)
downloadnode-new-5bc5210b923697ab53f0ac0aa8616e28b16b73e9.tar.gz
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.
-rw-r--r--doc/api/http.markdown7
1 files changed, 2 insertions, 5 deletions
diff --git a/doc/api/http.markdown b/doc/api/http.markdown
index 624b9a9506..88f313dbf3 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