Home
last modified time | relevance | path

Searched refs:server_hostname (Results 1 – 25 of 48) sorted by relevance

12

/external/python/cpython3/Lib/
Dssl.py497 server_hostname=None, session=None): argument
505 server_hostname=server_hostname,
511 server_hostname=None, session=None): argument
516 server_hostname=self._encode_hostname(server_hostname),
835 server_hostname=None, session=None, context=None): argument
839 server_hostname=server_hostname,
874 def server_hostname(self): member in SSLObject
877 return self._sslobj.server_hostname
985 suppress_ragged_eofs=True, server_hostname=None, argument
990 if server_hostname:
[all …]
Dpoplib.py411 server_hostname=self.host)
457 server_hostname=self.host)
Dftplib.py749 self.sock = self.context.wrap_socket(self.sock, server_hostname=self.host)
789 server_hostname=self.host)
Dsmtplib.py775 server_hostname=self._host)
1042 server_hostname=self._host)
/external/python/cpython3/Lib/asyncio/
Dsslproto.py14 def _create_transport_context(server_side, server_hostname): argument
23 if not server_hostname:
55 def __init__(self, context, server_side, server_hostname=None): argument
68 self._server_hostname = server_hostname
119 server_hostname=self._server_hostname)
411 server_side=False, server_hostname=None, argument
426 server_side, server_hostname)
429 if server_hostname and not server_side:
430 self._server_hostname = server_hostname
Dbase_events.py467 *, server_side=False, server_hostname=None, argument
971 local_addr=None, server_hostname=None, argument
985 if server_hostname is not None and not ssl:
988 if server_hostname is None and ssl:
1002 server_hostname = host
1082 sock, protocol_factory, ssl, server_hostname,
1094 server_hostname, server_side=False, argument
1105 server_side=server_side, server_hostname=server_hostname,
1196 server_hostname=None, argument
1218 server_side, server_hostname,
Devents.py305 server_hostname=None, argument
373 server_hostname=None, argument
385 server_hostname=None, argument
Dunix_events.py221 server_hostname=None, argument
223 assert server_hostname is None or isinstance(server_hostname, str)
225 if server_hostname is None:
229 if server_hostname is not None:
259 sock, protocol_factory, ssl, server_hostname,
/external/python/cpython2/Lib/
Dssl.py364 server_hostname=None): argument
368 server_hostname=server_hostname,
541 server_hostname=None, argument
584 if server_side and server_hostname:
587 if self._context.check_hostname and not server_hostname:
590 self.server_hostname = server_hostname
611 server_hostname, ssl_sock=self)
851 if not self.server_hostname:
854 match_hostname(self.getpeercert(), self.server_hostname)
863 … self._sslobj = self.context._wrap_socket(self._sock, False, self.server_hostname, ssl_sock=self)
Dhttplib.py1258 server_hostname = self._tunnel_host
1260 server_hostname = self.host
1263 server_hostname=server_hostname)
/external/python/cpython3/Lib/test/
Dtest_ssl.py858 server_hostname="some.hostname")
1804 server_hostname="")
1807 server_hostname=".example.org")
1810 server_hostname="example.org\x00evil.com")
1888 client = client_ctx.wrap_bio(c_in, c_out, server_hostname=hostname)
2001 server_hostname="dummy") as s:
2134 server_hostname='localhost') as s:
2148 with ctx1.wrap_socket(s, server_hostname='localhost') as ss:
2699 server_hostname=sni_name, session=session) as s:
2867 server_hostname=hostname) as s:
[all …]
Dtest_smtpnet.py15 sock = context.wrap_socket(sock, server_hostname=host)
/external/python/cpython3/Lib/test/test_asyncio/
Dfunctional.py139 server_hostname=None): argument
143 server_hostname=server_hostname,
Dtest_sendfile.py262 server_hostname = socket_helper.HOST
264 server_hostname = None
271 ssl=cli_ctx, server_hostname=server_hostname))
Dtest_sslproto.py623 server_hostname='',
664 server_hostname='',
704 server_hostname='',
741 server_hostname='',
Dtest_base_events.py1451 server_hostname='python.org',
1457 server_hostname='perl.com',
1464 server_hostname='perl.com',
1470 server_hostname='',
1477 server_hostname='',
1483 server_hostname='')
1486 server_hostname='python.org')
/external/python/cpython3/Modules/
D_ssl.c467 PyObject *server_hostname; member
660 sslsock->server_hostname in fill_and_set_sslerror()
668 sslsock->server_hostname in fill_and_set_sslerror()
864 _ssl_configure_hostname(PySSLSocket *self, const char* server_hostname) in _ssl_configure_hostname() argument
871 assert(server_hostname); in _ssl_configure_hostname()
877 len = strlen(server_hostname); in _ssl_configure_hostname()
878 if (len == 0 || *server_hostname == '.') { in _ssl_configure_hostname()
887 ip = a2i_IPADDRESS(server_hostname); in _ssl_configure_hostname()
892 hostname = PyUnicode_Decode(server_hostname, len, "ascii", "strict"); in _ssl_configure_hostname()
896 self->server_hostname = hostname; in _ssl_configure_hostname()
[all …]
/external/python/httplib2/python2/httplib2/test/
Dtest_ssl_context.py61 self.assertEqual(conn.sock.server_hostname, "localhost")
/external/python/cpython3/Lib/http/
Dclient.py1420 server_hostname = self._tunnel_host
1422 server_hostname = self.host
1425 server_hostname=server_hostname)
/external/python/setuptools/setuptools/
Dssl_support.py191 self.sock = ctx.wrap_socket(sock, server_hostname=actual_host)
/external/iperf3/src/
Diperf.h257 char *server_hostname; /* -c option */ member
Diperf_api.c290 return ipt->server_hostname; in iperf_get_test_server_hostname()
560 iperf_set_test_server_hostname(struct iperf_test *ipt, const char *server_hostname) in iperf_set_test_server_hostname() argument
562 ipt->server_hostname = strdup(server_hostname); in iperf_set_test_server_hostname()
805 …tart, "connecting_to", iperf_json_printf("host: %s port: %d", test->server_hostname, (int64_t) te… in iperf_on_connect()
807 iperf_printf(test, report_connecting, test->server_hostname, test->server_port); in iperf_on_connect()
809 iperf_printf(test, report_reverse, test->server_hostname); in iperf_on_connect()
2597 if (test->server_hostname) in iperf_free_test()
2598 free(test->server_hostname); in iperf_free_test()
Diperf_api.h163 void iperf_set_test_server_hostname( struct iperf_test* ipt, const char* server_hostname );
Diperf_udp.c502 …->settings->domain, Pudp, test->bind_address, test->bind_port, test->server_hostname, test->server… in iperf_udp_connect()
/external/python/cpython3/Doc/library/
Dasyncio-stream.rst54 server_hostname=None, ssl_handshake_timeout=None)
114 server_hostname=None, ssl_handshake_timeout=None)

12