lib/async/http/protocol/http10.rb in async-http-0.54.0 vs lib/async/http/protocol/http10.rb in async-http-0.54.1
- old
+ new
@@ -35,16 +35,16 @@
def self.trailers?
false
end
def self.client(peer)
- stream = IO::Stream.new(peer, sync: false)
+ stream = IO::Stream.new(peer, sync: true)
return HTTP1::Client.new(stream, VERSION)
end
def self.server(peer)
- stream = IO::Stream.new(peer, sync: false)
+ stream = IO::Stream.new(peer, sync: true)
return HTTP1::Server.new(stream, VERSION)
end
def self.names