Skip to content

Commit 74a24e2

Browse files
committed
Bump dependency on io-endpoint.
1 parent b68d637 commit 74a24e2

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

async-http.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
2727
spec.add_dependency "async", ">= 1.25"
2828
spec.add_dependency "async-io", ">= 1.43.1"
2929
spec.add_dependency "async-pool", ">= 0.6.1"
30-
spec.add_dependency "io-endpoint", "~> 0.9.0"
30+
spec.add_dependency "io-endpoint", "~> 0.10.0"
3131
spec.add_dependency "io-stream", "~> 0.3.0"
3232
spec.add_dependency "protocol-http", "~> 0.26.0"
3333
spec.add_dependency "protocol-http1", "~> 0.19.0"

fixtures/async/http/a_protocol.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,6 @@ module HTTP
202202
end
203203

204204
it "disconnects slow clients" do
205-
# We won't be able to disconnect slow clients if IO#timeout is not available:
206-
skip_unless_method_defined(:timeout, IO)
207-
208205
response = client.get("/")
209206
response.read
210207

@@ -481,8 +478,6 @@ def after
481478
end
482479

483480
it "can't get /" do
484-
skip_unless_method_defined(:timeout, IO)
485-
486481
expect do
487482
client.get("/")
488483
end.to raise_exception(::IO::TimeoutError)

0 commit comments

Comments
 (0)