fix(VirtualStream): Fix keepAlive flag handling in VirtualStream and added stream closure in tests

This commit is contained in:
2024-10-14 01:42:44 +02:00
parent f9b5c897cf
commit d38a225c78
4 changed files with 10 additions and 2 deletions

View File

@@ -327,7 +327,7 @@ export class VirtualStream<T = Uint8Array> implements plugins.typedRequestInterf
cycleId: plugins.isounique.uni(),
cycle: 'request',
mainPurpose: 'keepAlive',
keepAlive: true,
keepAlive: this.keepAlive,
},
response: null,
}).catch(() => {