fix(mixins/HttpProxy): fix excess event listeners warning
This commit is contained in:
@@ -91,6 +91,9 @@ export default class HttpProxy {
|
||||
|
||||
try {
|
||||
await this.#handleAuthentication(req, res, async () => {
|
||||
// ServerResponse is no longer necessary
|
||||
res.detachSocket(clientSocket)
|
||||
|
||||
const { port, hostname } = new URL('http://' + req.url)
|
||||
const serverSocket = net.connect(port || 80, hostname)
|
||||
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
- @vates/task minor
|
||||
- @xen-orchestra/backups minor
|
||||
- @xen-orchestra/fs patch
|
||||
- @xen-orchestra/mixins patch
|
||||
- @vates/node-vsphere-soap major
|
||||
- @xen-orchestra/vmware-explorer patch
|
||||
- xen-api patch
|
||||
|
||||
Reference in New Issue
Block a user