Skip to content

Commit 418ca04

Browse files
Anton Zhuravskyioquatix
authored andcommitted
Bumping protocol-http1 and updating hijack check
1 parent dcfd594 commit 418ca04

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

async-http.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
2323
spec.add_dependency "async-io", ">= 1.28"
2424
spec.add_dependency "async-pool", ">= 0.2"
2525
spec.add_dependency "protocol-http", "~> 0.26.0"
26-
spec.add_dependency "protocol-http1", "~> 0.18.0"
26+
spec.add_dependency "protocol-http1", "~> 0.19.0"
2727
spec.add_dependency "protocol-http2", "~> 0.16.0"
2828
spec.add_dependency "traces", ">= 0.10.0"
2929
end

lib/async/http/protocol/http1/connection.rb

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ def initialize(stream, version)
1818

1919
@ready = true
2020
@version = version
21-
@hijacked = false
2221
end
2322

2423
attr :version
@@ -48,15 +47,6 @@ def peer
4847
def concurrency
4948
1
5049
end
51-
52-
def hijack!
53-
@hijacked = true
54-
super
55-
end
56-
57-
def hijacked?
58-
@hijacked
59-
end
6050

6151
# Can we use this connection to make requests?
6252
def viable?

0 commit comments

Comments
 (0)