diff --git a/async-http.gemspec b/async-http.gemspec index e39a79b7..5247d9c5 100644 --- a/async-http.gemspec +++ b/async-http.gemspec @@ -22,8 +22,8 @@ Gem::Specification.new do |spec| spec.add_dependency "async", ">= 1.25" spec.add_dependency "async-io", ">= 1.28" spec.add_dependency "async-pool", ">= 0.2" - spec.add_dependency "protocol-http", "~> 0.25.0" - spec.add_dependency "protocol-http1", "~> 0.16.0" - spec.add_dependency "protocol-http2", "~> 0.15.0" + spec.add_dependency "protocol-http", "~> 0.26.0" + spec.add_dependency "protocol-http1", "~> 0.18.0" + spec.add_dependency "protocol-http2", "~> 0.16.0" spec.add_dependency "traces", ">= 0.10.0" end diff --git a/lib/async/http/protocol/https.rb b/lib/async/http/protocol/https.rb index 76709c11..a559fd29 100644 --- a/lib/async/http/protocol/https.rb +++ b/lib/async/http/protocol/https.rb @@ -9,24 +9,6 @@ require_relative 'http2' -require 'openssl' - -unless OpenSSL::SSL::SSLContext.instance_methods.include? :alpn_protocols= - warn "OpenSSL implementation doesn't support ALPN." - - class OpenSSL::SSL::SSLContext - def alpn_protocols= names - return names - end - end - - class OpenSSL::SSL::SSLSocket - def alpn_protocol - return nil - end - end -end - module Async module HTTP module Protocol diff --git a/lib/async/http/version.rb b/lib/async/http/version.rb index be1dea53..35c173c0 100644 --- a/lib/async/http/version.rb +++ b/lib/async/http/version.rb @@ -5,6 +5,6 @@ module Async module HTTP - VERSION = "0.62.0" + VERSION = "0.63.0" end end