diff --git a/packages/proxy/lib/http/request-middleware.ts b/packages/proxy/lib/http/request-middleware.ts index 058008d3a9ab..b857ad4fc3ca 100644 --- a/packages/proxy/lib/http/request-middleware.ts +++ b/packages/proxy/lib/http/request-middleware.ts @@ -171,8 +171,6 @@ const SendRequestOutgoing: RequestMiddleware = function () { req.on('error', this.onError) req.on('response', (incomingRes) => this.onResponse(incomingRes, req)) this.req.socket.on('close', () => { - if (!this.req.aborted) return - this.debug('request aborted') req.abort() })