diff --git a/async-http.gemspec b/async-http.gemspec index 5247d9c5..7bd0bcd7 100644 --- a/async-http.gemspec +++ b/async-http.gemspec @@ -23,7 +23,7 @@ Gem::Specification.new do |spec| spec.add_dependency "async-io", ">= 1.28" spec.add_dependency "async-pool", ">= 0.2" spec.add_dependency "protocol-http", "~> 0.26.0" - spec.add_dependency "protocol-http1", "~> 0.18.0" + spec.add_dependency "protocol-http1", "~> 0.19.0" spec.add_dependency "protocol-http2", "~> 0.16.0" spec.add_dependency "traces", ">= 0.10.0" end diff --git a/lib/async/http/protocol/http1/connection.rb b/lib/async/http/protocol/http1/connection.rb index 753e04e7..1275c6a9 100755 --- a/lib/async/http/protocol/http1/connection.rb +++ b/lib/async/http/protocol/http1/connection.rb @@ -18,7 +18,6 @@ def initialize(stream, version) @ready = true @version = version - @hijacked = false end attr :version @@ -48,15 +47,6 @@ def peer def concurrency 1 end - - def hijack! - @hijacked = true - super - end - - def hijacked? - @hijacked - end # Can we use this connection to make requests? def viable?