Project

General

Profile

« Previous | Next » 

Revision 36871

Added by emboss over 6 years ago

  • ext/openssl/extconf.rb: Check existence of OPENSSL_NPN_NEGOTIATED. ext/ossl_ssl.c: Support Next Protocol Negotiation. Protocols to be advertised by the server can be set in the SSLContext by using SSLContext#npn_protocols=, protocol selection on the client is supported by providing a selection callback with SSLContext#npn_select_cb. The protocol that was finally negotiated is available through SSL#npn_protocol. test/openssl/test_ssl.rb: Add tests for Next Protocol Negotiation. NEWS: add news about NPN support. [Feature #6503] [ruby-core:45272]