Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test: unflake'TLS 1.2 handshake' test (#36912)

Max Schmitt6ef2dce22c34
diff --git a/packages/playwright-core/src/server/socksClientCertificatesInterceptor.ts b/packages/playwright-core/src/server/socksClientCertificatesInterceptor.ts
index 9f06d1e5bd..846d2ca3d1 100644
--- a/packages/playwright-core/src/server/socksClientCertificatesInterceptor.ts
+++ b/packages/playwright-core/src/server/socksClientCertificatesInterceptor.ts
@@ -247,9 +247,7 @@ class SocksProxyConnection {
'Content-Length: ' + Buffer.byteLength(responseBody),
'',
responseBody,
- ].join('\r\n'), () => {
- this._browserEncrypted.destroy();
- });
+ ].join('\r\n'));
}
});
}