protocol-http2 0.10.1 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/protocol/http2/connection.rb +5 -5
- 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: 8efb1ea2ec69cfed6e21c138551ddb9057d3cee5a63bf25564a28656b8d35032
|
4
|
+
data.tar.gz: 1d7593f63d61782f8fd00a45ca60c5e8cb051e9bb0fbf3db4b5bb7fa10240a44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|