aboutsummaryrefslogtreecommitdiff
path: root/openssl/src/stack.rs
diff options
context:
space:
mode:
authorMarko Lalic <[email protected]>2015-03-18 15:50:29 +0100
committerMarko Lalic <[email protected]>2015-03-23 08:41:15 +0100
commit5689ad9260c8d90a738bf9d830186a1b31c05a7f (patch)
treedb9d8baba484ed3215209516440b9ed6e2f9cba6 /openssl/src/stack.rs
parentopenssl: Add method for setting protocols to be used in NPN (diff)
downloadrust-openssl-5689ad9260c8d90a738bf9d830186a1b31c05a7f.tar.xz
rust-openssl-5689ad9260c8d90a738bf9d830186a1b31c05a7f.zip
openssl: Implement client-side NPN protocol selection
After the `set_npn_protocols` method of the `SslContext` struct is called, any future TLS connections established with this context will perform NPN negotiation. The chosen protocol is the one with the highest priority in the server's protocol list that is also in the client's protocol list. (This is the default behavior provided by OpenSSL's `SSL_select_next_proto` function.) If there is no overlap between the two lists, no error is raised.
Diffstat (limited to 'openssl/src/stack.rs')
0 files changed, 0 insertions, 0 deletions