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 +4 -4
- data/lib/protocol/http2/connection.rb +7 -0
- data/lib/protocol/http2/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75bf87ebb4f9ff229d4256b4d6f724fbe6d3ce47756fa9d3b47580a19fc3de73
|
4
|
+
data.tar.gz: 3c1331b3920899a3a0457552e5ff1b873b1666ef39867cfc5e61548007bc8bc8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|