Skip to content

Commit 4ef4b2d

Browse files
committed
chore(actix-http): prepare release 3.19.0
1 parent 1d6eeb7 commit 4ef4b2d

8 files changed

Lines changed: 10 additions & 19 deletions

File tree

‎Cargo.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎actix-http/CHANGES.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22

33
## Unreleased
44

5+
## 3.19.0
6+
57
- Fix `QualityItem` parsing to recognize quality parameters before other parameters and ignore semicolons inside quoted values.
68
- Parse header quality values as exact decimals and reject invalid numeric syntax.
79
- Round float quality conversions to the nearest thousandth to preserve all three decimal places.
10+
- Reject WebSocket frames whose 64-bit payload length has the most significant bit set, or whose length does not fit in `usize` on 32-bit targets, using `ws::ProtocolError::Overflow`.
811
- Update `zstd` dependency to `0.14`.
912
- Update `brotli` dependency to `9`.
10-
- Reject WebSocket frames whose 64-bit payload length has the most significant bit set, or whose length does not fit in `usize` on 32-bit targets.
11-
- Reword the `ws::ProtocolError::Overflow` message, which described only the size limit, to cover an invalid payload length.
1213

1314
## 3.18.13
1415

‎actix-http/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "actix-http"
3-
version = "3.18.13"
3+
version = "3.19.0"
44
authors = ["Nikolay Kim <fafhrd91@gmail.com>", "Rob Ede <robjtede@icloud.com>"]
55
description = "HTTP types and services for the Actix ecosystem"
66
keywords = ["actix", "http", "framework", "async", "futures"]

‎actix-http/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
<!-- prettier-ignore-start -->
66

77
[![crates.io](https://img.shields.io/crates/v/actix-http?label=latest)](https://crates.io/crates/actix-http)
8-
[![Documentation](https://docs.rs/actix-http/badge.svg?version=3.18.13)](https://docs.rs/actix-http/3.18.13)
8+
[![Documentation](https://docs.rs/actix-http/badge.svg?version=3.19.0)](https://docs.rs/actix-http/3.19.0)
99
![Version](https://img.shields.io/badge/rustc-1.88+-ab6000.svg)
1010
![MIT or Apache 2.0 licensed](https://img.shields.io/crates/l/actix-http.svg)
1111
<br />
12-
[![dependency status](https://deps.rs/crate/actix-http/3.18.13/status.svg)](https://deps.rs/crate/actix-http/3.18.13)
12+
[![dependency status](https://deps.rs/crate/actix-http/3.19.0/status.svg)](https://deps.rs/crate/actix-http/3.19.0)
1313
[![Download](https://img.shields.io/crates/d/actix-http.svg)](https://crates.io/crates/actix-http)
1414
[![Chat on Discord](https://img.shields.io/discord/771444961383153695?label=chat&logo=discord)](https://discord.gg/NWpN5mmg3x)
1515

‎actix-http/src/ws/frame.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ mod tests {
668668
// The payload length of the #3723 repro, whose MSB is set. That report was an unchecked
669669
// addition that overflowed; `checked_add` was added to fix it, and the most-significant-bit
670670
// check now rejects this input before either runs, so this pins the regression only.
671-
// The 32-bit test that covers the `checked_add` guard is not compiled on this target.
671+
// The `checked_add` guard is covered separately by a 32-bit-only test.
672672
#[test]
673673
fn test_parse_rejects_msb_length_from_3723() {
674674
let buf: [u8; 14] = [

‎actix-http/src/ws/mod.rs‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -255,16 +255,6 @@ mod tests {
255255
use super::*;
256256
use crate::{header, test::TestRequest};
257257

258-
// The message is user-visible, so pin it: it describes every case the variant covers, not only
259-
// the payload size limit it used to name.
260-
#[test]
261-
fn test_overflow_message_covers_invalid_lengths() {
262-
assert_eq!(
263-
ProtocolError::Overflow.to_string(),
264-
"Payload length is invalid or exceeds the size limit"
265-
);
266-
}
267-
268258
#[test]
269259
fn test_handshake() {
270260
let req = TestRequest::default().method(Method::POST).finish();

‎actix-web/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ actix-service = "2"
135135
actix-tls = { version = "3.4", default-features = false, optional = true }
136136
actix-utils = "3"
137137

138-
actix-http = "3.13.3"
138+
actix-http = "3.19"
139139
actix-router = { version = "0.5.4", default-features = false, features = ["http"] }
140140
actix-web-codegen = { version = "=4.4.0", optional = true, default-features = false }
141141

‎awc/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ dangerous-h2c = []
9898

9999
[dependencies]
100100
actix-codec = "0.5"
101-
actix-http = { version = "3.13.1", features = ["http2", "ws"] }
101+
actix-http = { version = "3.19", features = ["http2", "ws"] }
102102
actix-rt = { version = "2.1", default-features = false }
103103
actix-service = "2"
104104
actix-tls = { version = "3.4", features = ["connect", "uri"] }

0 commit comments

Comments
 (0)