diff options
author | Robert Nagy <ronagy@icloud.com> | 2020-07-12 00:00:20 +0300 |
---|---|---|
committer | Robert Nagy <ronagy@icloud.com> | 2020-07-16 09:37:01 +0300 |
commit | a55b77d2d354121d30e6a9d3579f84117ef2677c (patch) | |
tree | 5e77f0b2dc0a80c335a89ab89acdde8cba7d1efc /lib/internal/http.js | |
parent | d46fc91be469016a41eb1e9454f1db0c2823f637 (diff) |
stream: finished on closed OutgoingMessage
finished should invoke callback on closed OutgoingMessage the
same way as for regular streams.
Fixes: https://github.com/nodejs/node/issues/34301
PR-URL: https://github.com/nodejs/node/pull/34313
Fixes: https://github.com/nodejs/node/issues/34274
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'lib/internal/http.js')
-rw-r--r-- | lib/internal/http.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/internal/http.js b/lib/internal/http.js index f7ed50d0c0f..aab4170a2f0 100644 --- a/lib/internal/http.js +++ b/lib/internal/http.js @@ -51,7 +51,6 @@ function emitStatistics(statistics) { module.exports = { kOutHeaders: Symbol('kOutHeaders'), kNeedDrain: Symbol('kNeedDrain'), - kClosed: Symbol('kClosed'), nowDate, utcDate, emitStatistics |