File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -718,7 +718,11 @@ def repr_pieces(self):
718
718
return pieces
719
719
720
720
def _connection_arguments (self ) -> Mapping :
721
- return {"remote_host" : self .host , "remote_port" : self .port }
721
+ return {
722
+ "remote_host" : self .host ,
723
+ "remote_port" : self .port ,
724
+ "tls_standard_compatible" : False ,
725
+ }
722
726
723
727
async def _connect (self ):
724
728
"""Create a TCP socket connection"""
Original file line number Diff line number Diff line change @@ -166,7 +166,9 @@ async def _handler(stream: ByteStream):
166
166
context .maximum_version = maximum_ssl_version
167
167
context .load_cert_chain (certfile = certfile , keyfile = keyfile )
168
168
tcp_listener = await anyio .create_tcp_listener (local_host = host , local_port = port )
169
- listener = TLSListener (tcp_listener , ssl_context = context )
169
+ listener = TLSListener (
170
+ tcp_listener , ssl_context = context , standard_compatible = False
171
+ )
170
172
else :
171
173
host , port = server_address
172
174
listener = await anyio .create_tcp_listener (local_host = host , local_port = port )
You can’t perform that action at this time.
0 commit comments