protocol-http2 0.10.1 → 0.10.2

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: 75bf87ebb4f9ff229d4256b4d6f724fbe6d3ce47756fa9d3b47580a19fc3de73
4
- data.tar.gz: 3c1331b3920899a3a0457552e5ff1b873b1666ef39867cfc5e61548007bc8bc8
3
+ metadata.gz: 8efb1ea2ec69cfed6e21c138551ddb9057d3cee5a63bf25564a28656b8d35032
4
+ data.tar.gz: 1d7593f63d61782f8fd00a45ca60c5e8cb051e9bb0fbf3db4b5bb7fa10240a44
5
5
  SHA512:
6
- metadata.gz: bb12be37edb62386fe35b32066c4c7da95e7ceb79f198b6c0f6c2d37ec3c8f8eae0a3c90b6cd01fab013feb7e0a7744cd65896302db6e1ea0eb55be496d925dd
7
- data.tar.gz: 757c70635b94023bbd7eb1a516f18f4e53bc2f11e0833b2316daf91f6bccbf3cb733ee1a2b55fcfef1e1b63292b8fd6f5d2a5dae89e55a0d8e1dc547e9cb660c
6
+ metadata.gz: 1c9f92955c5a51fad71a5c385f859d01aa00ceb544e834b3970121debb6fa3e98a447b0c160965f37d9c0fe7bd54ec41caefd9705c607d435c4b0eabc494dc52
7
+ data.tar.gz: 0d391aa648ac4d77fa7b79797ef3c1e5ac91e8945654a5597486a42a4ab5889510453c0a22b80f0d32098db8ed498486d652bfeb9c7ad89b1af3a4b68ddd83b6
@@ -201,17 +201,17 @@ module Protocol
201
201
  def send_settings(changes)
202
202
  @local_settings.append(changes)
203
203
 
204
+ frame = SettingsFrame.new
205
+ frame.pack(changes)
206
+
207
+ write_frame(frame)
208
+
204
209
  # If the initial window size is set to something bigger than the default, we want to increase it.
205
210
  difference = @local_settings.pending.initial_window_size - @local_window.capacity
206
211
 
207
212
  if difference > 0
208
213
  send_window_update(difference)
209
214
  end
210
-
211
- frame = SettingsFrame.new
212
- frame.pack(changes)
213
-
214
- write_frame(frame)
215
215
  end
216
216
 
217
217
  # Transition the connection into the closed state.
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Protocol
22
22
  module HTTP2
23
- VERSION = "0.10.1"
23
+ VERSION = "0.10.2"
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.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams