Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
doc: http: reword IncomingMessage 'close' event
Browse files Browse the repository at this point in the history
The bit that says "before response.end() was called or able to flush"
doesn't apply to incoming streams.

Fixes #6359.
  • Loading branch information
bnoordhuis committed Oct 16, 2013
1 parent 5ef03bc commit 5bc5210
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions doc/api/http.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5bc5210

Please sign in to comment.