Update packages/playwright-core/src/server/socksClientCertificatesInterceptor.ts
Co-authored-by: Dmitry Gozman <dgozman@gmail.com> Signed-off-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
parent
ef1159e3a3
commit
b3203f9263
|
|
@ -210,8 +210,10 @@ class SocksProxyConnection {
|
|||
return;
|
||||
}
|
||||
|
||||
if (this._closed)
|
||||
if (this._closed) {
|
||||
internalTLS.destroy();
|
||||
return;
|
||||
}
|
||||
targetTLS = tls.connect({
|
||||
socket: this.target,
|
||||
host: this.host,
|
||||
|
|
|
|||
Loading…
Reference in a new issue