]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
remove ALPN debugging prints
authorBob Halley <halley@dnspython.org>
Thu, 7 Dec 2023 18:07:07 +0000 (10:07 -0800)
committerBob Halley <halley@dnspython.org>
Thu, 7 Dec 2023 18:07:07 +0000 (10:07 -0800)
dns/query.py

index a800a3e1d2961e670e1203b38501e07f283fb6e6..869d34189669e08865416e8ad376fe1b89f1de5a 100644 (file)
@@ -1093,7 +1093,6 @@ def tls(
         ssl_context.minimum_version = ssl.TLSVersion.TLSv1_2
         if server_hostname is None:
             ssl_context.check_hostname = False
-        print("HAS_ALPN", ssl.HAS_ALPN)
         ssl_context.set_alpn_protocols(["dot"])
 
     with _make_socket(
@@ -1105,7 +1104,6 @@ def tls(
     ) as s:
         _connect(s, destination, expiration)
         _tls_handshake(s, expiration)
-        print("ALPN", s.selected_alpn_protocol())
         send_tcp(s, wire, expiration)
         (r, received_time) = receive_tcp(
             s, expiration, one_rr_per_rrset, q.keyring, q.mac, ignore_trailing