File tree 2 files changed +2
-13
lines changed
lib/async/http/protocol/http1
2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ Gem::Specification.new do |spec|
27
27
spec . add_dependency "async" , ">= 2.10.2"
28
28
spec . add_dependency "async-pool" , "~> 0.9"
29
29
spec . add_dependency "io-endpoint" , "~> 0.14"
30
- spec . add_dependency "io-stream" , "~> 0.4 "
30
+ spec . add_dependency "io-stream" , "~> 0.6 "
31
31
spec . add_dependency "protocol-http" , "~> 0.37"
32
- spec . add_dependency "protocol-http1" , "~> 0.27 "
32
+ spec . add_dependency "protocol-http1" , ">= 0.28.1 "
33
33
spec . add_dependency "protocol-http2" , "~> 0.19"
34
34
spec . add_dependency "traces" , "~> 0.10"
35
35
spec . add_dependency "metrics" , "~> 0.12"
Original file line number Diff line number Diff line change @@ -41,17 +41,6 @@ def http2?
41
41
false
42
42
end
43
43
44
- def read_line?
45
- @stream . read_until ( CRLF )
46
- rescue => error
47
- # Bascially, any error will cause the connection to be closed:
48
- return nil
49
- end
50
-
51
- def read_line
52
- @stream . read_until ( CRLF ) or raise EOFError , "Could not read line!"
53
- end
54
-
55
44
def peer
56
45
@stream . io
57
46
end
You can’t perform that action at this time.
0 commit comments