Skip to content

Commit 5bc5210

Browse files
committed
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.
1 parent 5ef03bc commit 5bc5210

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

doc/api/http.markdown

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -772,11 +772,8 @@ following additional events, methods, and properties.
772772

773773
`function () { }`
774774

775-
Indicates that the underlaying connection was terminated before
776-
`response.end()` was called or able to flush.
777-
778-
Just like `'end'`, this event occurs only once per response. See
779-
[http.ServerResponse][]'s `'close'` event for more information.
775+
Indicates that the underlaying connection was closed.
776+
Just like `'end'`, this event occurs only once per response.
780777

781778
### message.httpVersion
782779

0 commit comments

Comments
 (0)