We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dd0276 commit 23cdf83Copy full SHA for 23cdf83
tests/util/h2c_proxy.py
@@ -244,6 +244,7 @@ def _handle_connection(self, client_sock):
244
# Wrap upstream with TLS if enabled
245
if self.upstream_tls:
246
upstream_ssl_ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
247
+ upstream_ssl_ctx.minimum_version = ssl.TLSVersion.TLSv1_2
248
upstream_ssl_ctx.set_alpn_protocols(['h2'])
249
upstream_ssl_ctx.check_hostname = False
250
upstream_ssl_ctx.verify_mode = ssl.CERT_NONE
0 commit comments