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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this._closed)
|
if (this._closed) {
|
||||||
|
internalTLS.destroy();
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
targetTLS = tls.connect({
|
targetTLS = tls.connect({
|
||||||
socket: this.target,
|
socket: this.target,
|
||||||
host: this.host,
|
host: this.host,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue