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.py4038 server_protocols = ['foo', 'bar', 'milkshake']
4047 server_context.set_alpn_protocols(server_protocols)
4066 % (str(server_protocols), str(client_protocols),
4086 server_protocols = ['http/1.1', 'spdy/2']
4095 server_context.set_npn_protocols(server_protocols)
4102 % (str(server_protocols), str(client_protocols),
/external/python/cpython3/Modules/
D_ssl.c3404 const unsigned char *server_protocols, unsigned int server_protocols_len, in do_protocol_selection() argument
3412 if (server_protocols == NULL) { in do_protocol_selection()
3413 server_protocols = (unsigned char *)""; in do_protocol_selection()
3418 server_protocols, server_protocols_len, in do_protocol_selection()