protocol-http2 0.10.0 → 0.10.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 65e32ccd867aeb59ecc2f549fd376faf912662e9dc13013fb96631e0f1a818e9
4
- data.tar.gz: d5cea11e3665707f1e1e187c2d38661615d5731bbf37253c1ff020b581364c8d
3
+ metadata.gz: 75bf87ebb4f9ff229d4256b4d6f724fbe6d3ce47756fa9d3b47580a19fc3de73
4
+ data.tar.gz: 3c1331b3920899a3a0457552e5ff1b873b1666ef39867cfc5e61548007bc8bc8
5
5
  SHA512:
6
- metadata.gz: d54116953f0ecab132997502fdc8a53f0df18865372773bf1edc5db393a922c60c49b7a46c0deaff3702a6bf57e244316396424081d15efa0350421fa8cd55c9
7
- data.tar.gz: e45da44d211b8ff2b37c094fb5674e3fb508681a897931b1786db96413665bc6182140986c289f6a6dd0ab38225348f5ab6adb0a2c0c0bd403d95bfc7a5d3173
6
+ metadata.gz: bb12be37edb62386fe35b32066c4c7da95e7ceb79f198b6c0f6c2d37ec3c8f8eae0a3c90b6cd01fab013feb7e0a7744cd65896302db6e1ea0eb55be496d925dd
7
+ data.tar.gz: 757c70635b94023bbd7eb1a516f18f4e53bc2f11e0833b2316daf91f6bccbf3cb733ee1a2b55fcfef1e1b63292b8fd6f5d2a5dae89e55a0d8e1dc547e9cb660c
@@ -201,6 +201,13 @@ module Protocol
201
201
  def send_settings(changes)
202
202
  @local_settings.append(changes)
203
203
 
204
+ # If the initial window size is set to something bigger than the default, we want to increase it.
205
+ difference = @local_settings.pending.initial_window_size - @local_window.capacity
206
+
207
+ if difference > 0
208
+ send_window_update(difference)
209
+ end
210
+
204
211
  frame = SettingsFrame.new
205
212
  frame.pack(changes)
206
213
 
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Protocol
22
22
  module HTTP2
23
- VERSION = "0.10.0"
23
+ VERSION = "0.10.1"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protocol-http2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams