protocol-http1 0.28.0 → 0.28.1
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
- checksums.yaml.gz.sig +0 -0
- data/lib/protocol/http1/connection.rb +5 -5
- data/lib/protocol/http1/version.rb +1 -1
- data.tar.gz.sig +1 -1
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 418429eead441a575d5129d78ec4eaa2806e354219b44f8be723ba263ed6dff4
|
|
4
|
+
data.tar.gz: 2306e29dfe8ecf2344fc0b3672be0b4bbab681139e81b3b7f710821aba858ee2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f30451ee6eb024628fd4edb09b688206b4fb956080b11bd83ca1c243eb66a50473e03b710ff19cd1a94e1c34a3197bd3b584566694b5a3d9171c5d4b3de773f0
|
|
7
|
+
data.tar.gz: b89b24a8163a31f91d801472d3fc44f207dd909ad66c9caeffbd737c674e8905cdc93ac328db2aeca049896011ad093532e87fa608fe01672c645e55b6689f34
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
|
@@ -286,11 +286,11 @@ module Protocol
|
|
|
286
286
|
end
|
|
287
287
|
|
|
288
288
|
def read_line?
|
|
289
|
-
line = @stream.gets(CRLF, @maximum_line_length)
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
289
|
+
if line = @stream.gets(CRLF, @maximum_line_length)
|
|
290
|
+
unless line.chomp!(CRLF)
|
|
291
|
+
# This basically means that the request line, response line, header, or chunked length line is too long.
|
|
292
|
+
raise LineLengthError, "Line too long!"
|
|
293
|
+
end
|
|
294
294
|
end
|
|
295
295
|
|
|
296
296
|
return line
|
data.tar.gz.sig
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
�
|
|
1
|
+
T��&)?��;���?�Zx�e�A����('d�ʇE#&��a��������mH�(�(@��J��%^��R$�8Yh��K�[e"��<xr�Ҽ��� A𢏎TH+*O&�o��T��4���ºXi���I��ptC7����Q}d[K���c�K�GkoX���Ҳ/�2��P����qѨ�S�'j���{GA���Ԗ�
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|