Searched refs:check_hostname (Results 1 – 3 of 3) sorted by relevance
134 def _wrap_sni_socket(sock, sslopt, hostname, check_hostname): argument149 context.check_hostname = check_hostname175 check_hostname = sslopt["cert_reqs"] != ssl.CERT_NONE and sslopt.pop(179 sock = _wrap_sni_socket(sock, sslopt, hostname, check_hostname)184 if not HAVE_CONTEXT_CHECK_HOSTNAME and check_hostname:
179 Please set sslopt to {"check_hostname": False}.187 ws.run_forever(sslopt={"check_hostname": False})194 sslopt={"check_hostname": False})200 ws = websocket.WebSocket(sslopt={"check_hostname": False})
87 - can set verify_mode to CERT_NONE when check_hostname is enabled.(#175)