protocol-hpack 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/protocol/hpack/huffman.rb +1 -1
- data/lib/protocol/hpack/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: 34a3b1305216170fc892c4490259a257e3d3e6a3206942a80a016bd9c07aaef9
|
4
|
+
data.tar.gz: e4c0fa6bf1e28c6f8add782403ffbeee5ae49fca3ad72967d3d223b6028a2b97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67fbe38ec846794fc8e5b60d38e13f84c4e8c22482323c120b81aaf9de95f35d1eb875f444a2b070ee4b9cc422602481476541ff282d330a64292b9ec4302229
|
7
|
+
data.tar.gz: 314b4288c6289fe0fef3570ff51847031fa056fe516adb9bf244fe608c669f82720f26363e6c2ff777d2f0eb7f23c110b1ded7513d0ebb41b75b0de17fa1e4bd
|
@@ -335,7 +335,7 @@ module Protocol
|
|
335
335
|
[0x3fffffff, 30],
|
336
336
|
].each(&:freeze).freeze
|
337
337
|
|
338
|
-
ENCODE_TABLE = CODES.map {|c, l| [c].pack('N').
|
338
|
+
ENCODE_TABLE = CODES.map {|c, l| [c].pack('N').unpack1('B*')[-l..-1]}.each(&:freeze).freeze
|
339
339
|
end
|
340
340
|
end
|
341
341
|
end
|