diff --git a/source/client-request.js b/source/client-request.js index 245966b..2fd2266 100644 --- a/source/client-request.js +++ b/source/client-request.js @@ -424,6 +424,8 @@ class ClientRequest extends Writable { job(); } + this[kJobs].length = 0; + this.emit('socket', this.socket); };