We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ce90b1 commit 08878c4Copy full SHA for 08878c4
fixtures/async/http/a_protocol.rb
@@ -229,6 +229,11 @@ module HTTP
229
end
230
231
232
+ def endpoint_options
233
+ # Add a timeout to ensure that slow clients are disconnected:
234
+ super.merge(timeout: 0.5)
235
+ end
236
+
237
it "should have valid scheme" do
238
expect(server.scheme).to be == "http"
239
@@ -507,6 +512,10 @@ module HTTP
507
512
508
513
509
514
515
516
517
518
510
519
it "can't get /" do
511
520
expect do
521
response = client.get("/")
0 commit comments