protocol-http1 0.40.1 → 0.40.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
- checksums.yaml.gz.sig +0 -0
- data/lib/protocol/http1/body/chunked.rb +2 -2
- data/lib/protocol/http1/version.rb +1 -1
- data/readme.md +4 -5
- data/releases.md +4 -0
- data.tar.gz.sig +0 -0
- 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: fff1a36300fb1ea0775689411e9b86a45093e6d064d10868c419e38422754bea
|
|
4
|
+
data.tar.gz: c5204b0d2f701c834685b84c405ae1a98da109ec8ccdaf0c6d4a99a04b489ccb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 454ec4c8703447ad07cc199d482210d40b3abd79961b456eb1d0680869e35f87b72a0f0ba7bea5739178a40130007397b3d71fe9f467c83507628c2625e0cc98
|
|
7
|
+
data.tar.gz: f0c33d4fb8815e1f46e447ab5c693da0baaed0cf08e288d05030157b4bdaf6e792f306efbdaa3db21b80e1d1731d624647c4b3c13e5e5b308deac7b7bbf58346
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
|
@@ -128,7 +128,7 @@ module Protocol
|
|
|
128
128
|
connection.close_read
|
|
129
129
|
end
|
|
130
130
|
|
|
131
|
-
raise
|
|
131
|
+
raise
|
|
132
132
|
end
|
|
133
133
|
|
|
134
134
|
# @returns [String] a human-readable representation of the body.
|
|
@@ -149,7 +149,7 @@ module Protocol
|
|
|
149
149
|
|
|
150
150
|
# Read the trailer from the connection, and add any headers to the trailer.
|
|
151
151
|
def read_trailer
|
|
152
|
-
while line = @connection.read_line
|
|
152
|
+
while line = @connection.read_line
|
|
153
153
|
# Empty line indicates end of trailer:
|
|
154
154
|
break if line.empty?
|
|
155
155
|
|
data/readme.md
CHANGED
|
@@ -30,6 +30,10 @@ Please see the [project documentation](https://socketry.github.io/protocol-http1
|
|
|
30
30
|
|
|
31
31
|
Please see the [project releases](https://socketry.github.io/protocol-http1/releases/index) for all releases.
|
|
32
32
|
|
|
33
|
+
### v0.40.2
|
|
34
|
+
|
|
35
|
+
- Handle unexpected EOF while reading chunked trailers.
|
|
36
|
+
|
|
33
37
|
### v0.40.1
|
|
34
38
|
|
|
35
39
|
- Bound fixed-length and chunked body reads, and validate chunk terminators.
|
|
@@ -67,11 +71,6 @@ Please see the [project releases](https://socketry.github.io/protocol-http1/rele
|
|
|
67
71
|
|
|
68
72
|
- Add traces provider for `Protocol::HTTP1::Connection`.
|
|
69
73
|
|
|
70
|
-
### v0.34.1
|
|
71
|
-
|
|
72
|
-
- Fix connection state handling to allow idempotent response body closing.
|
|
73
|
-
- Add `kisaten` fuzzing integration for improved security testing.
|
|
74
|
-
|
|
75
74
|
## Contributing
|
|
76
75
|
|
|
77
76
|
We welcome contributions to this project.
|
data/releases.md
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|