lib/async/http/protocol/http2.rb in async-http-0.30.1 vs lib/async/http/protocol/http2.rb in async-http-0.30.2
- old
+ new
@@ -25,10 +25,12 @@
module HTTP
module Protocol
module HTTP2
DEFAULT_SETTINGS = {
::HTTP::Protocol::HTTP2::Settings::ENABLE_PUSH => 0,
- ::HTTP::Protocol::HTTP2::Settings::MAXIMUM_CONCURRENT_STREAMS => 256
+ ::HTTP::Protocol::HTTP2::Settings::MAXIMUM_CONCURRENT_STREAMS => 256,
+ ::HTTP::Protocol::HTTP2::Settings::MAXIMUM_FRAME_SIZE => 0x100000,
+ ::HTTP::Protocol::HTTP2::Settings::INITIAL_WINDOW_SIZE => 0x7FFFFFFF,
}
def self.client(stream, settings = DEFAULT_SETTINGS)
client = Client.new(stream)