lib/falcon/hosts.rb in falcon-0.33.4 vs lib/falcon/hosts.rb in falcon-0.33.5

- old
+ new

@@ -61,21 +61,9 @@ self.host_context(socket, hostname) end context.session_id_context = "falcon" - context.alpn_select_cb = lambda do |protocols| - if protocols.include? "h2" - return "h2" - elsif protocols.include? "http/1.1" - return "http/1.1" - elsif protocols.include? "http/1.0" - return "http/1.0" - else - return nil - end - end - context.set_params( ciphers: SERVER_CIPHERS, verify_mode: OpenSSL::SSL::VERIFY_NONE, )