diff options
| author | Marko Lalic <[email protected]> | 2015-03-18 15:50:29 +0100 |
|---|---|---|
| committer | Marko Lalic <[email protected]> | 2015-03-23 08:41:15 +0100 |
| commit | 5689ad9260c8d90a738bf9d830186a1b31c05a7f (patch) | |
| tree | db9d8baba484ed3215209516440b9ed6e2f9cba6 /openssl/src/stack.rs | |
| parent | openssl: Add method for setting protocols to be used in NPN (diff) | |
| download | rust-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