diff options
Diffstat (limited to 'lib/_http_outgoing.js')
-rw-r--r-- | lib/_http_outgoing.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_http_outgoing.js b/lib/_http_outgoing.js index 3bedce9d51..5fc23dde57 100644 --- a/lib/_http_outgoing.js +++ b/lib/_http_outgoing.js @@ -106,7 +106,7 @@ function OutgoingMessage() { this._onPendingData = noopPendingOutput; } -util.inherits(OutgoingMessage, Stream); +Object.setPrototypeOf(OutgoingMessage.prototype, Stream.prototype); Object.defineProperty(OutgoingMessage.prototype, '_headers', { |