Home
last modified time | relevance | path

Searched refs:server_protocols (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_ssl.py2954 server_protocols = ['foo', 'bar', 'milkshake']
2964 server_context.set_alpn_protocols(server_protocols)
2984 % (str(server_protocols), str(client_protocols),
3004 server_protocols = ['http/1.1', 'spdy/2']
3014 server_context.set_npn_protocols(server_protocols)
3023 % (str(server_protocols), str(client_protocols),
/external/python/cpython2/Modules/
D_ssl.c2338 const unsigned char *server_protocols, unsigned int server_protocols_len, in do_protocol_selection() argument
2346 if (server_protocols == NULL) { in do_protocol_selection()
2347 server_protocols = (unsigned char *)""; in do_protocol_selection()
2352 server_protocols, server_protocols_len, in do_protocol_selection()
/external/python/cpython3/Lib/test/
Dtest_ssl.py3921 server_protocols = ['foo', 'bar', 'milkshake']
3930 server_context.set_alpn_protocols(server_protocols)
3949 % (str(server_protocols), str(client_protocols),
3969 server_protocols = ['http/1.1', 'spdy/2']
3978 server_context.set_npn_protocols(server_protocols)
3985 % (str(server_protocols), str(client_protocols),
/external/python/cpython3/Modules/
D_ssl.c3232 const unsigned char *server_protocols, unsigned int server_protocols_len, in do_protocol_selection() argument
3240 if (server_protocols == NULL) { in do_protocol_selection()
3241 server_protocols = (unsigned char *)""; in do_protocol_selection()
3246 server_protocols, server_protocols_len, in do_protocol_selection()