actix-web/actix-http/src
Thales Fragoso fde7934243
Add option to allow/disallow half closures in HTTP/1 (#3777)
* Add ServiceConfigBuilder to facilitate future extensions

Signed-off-by: Thales Fragoso <thales.fragoso@axiros.com>

* Add option to allow/disallow h1 half closures

The default is set to allow, thus reverting a change made in 3.11.1

Signed-off-by: Thales Fragoso <thales.fragoso@axiros.com>

* Add tests for h1 half closures

Signed-off-by: Thales Fragoso <thales.fragoso@axiros.com>

* Comply with clippy

Signed-off-by: Thales Fragoso <thales.fragoso@axiros.com>

* Adjust imports to satisfy fmt

Signed-off-by: Thales Fragoso <thales.fragoso@axiros.com>

---------

Signed-off-by: Thales Fragoso <thales.fragoso@axiros.com>
2025-10-04 23:03:26 +00:00
..
body chore: address clippy lints 2025-05-09 20:21:02 +01:00
encoding chore: address clippy lints 2025-05-09 20:21:02 +01:00
h1 Add option to allow/disallow half closures in HTTP/1 (#3777) 2025-10-04 23:03:26 +00:00
h2 chore: move deny lints to manifests 2024-07-07 03:54:00 +01:00
header build(deps): update derive_more requirement from 1 to 2 (#3571) 2025-02-10 01:27:56 +00:00
requests ci: faster cargo-public-api install (#3255) 2024-01-22 02:19:19 +00:00
responses test: fix tests based on mime-guess inference 2024-06-30 20:28:11 +01:00
ws Fix integer overflow in actix_http::ws::Parser::parse (#3728) 2025-08-22 06:24:22 +00:00
builder.rs Add option to allow/disallow half closures in HTTP/1 (#3777) 2025-10-04 23:03:26 +00:00
config.rs Add option to allow/disallow half closures in HTTP/1 (#3777) 2025-10-04 23:03:26 +00:00
date.rs perf: remove unnecessary allocation when writing http dates (#3261) 2024-02-07 03:47:30 +00:00
error.rs chore: address clippy lints 2025-05-09 20:21:02 +01:00
extensions.rs Add `Extensions::get_or_insert[_with]()` methods (#3561) 2025-02-09 22:04:21 +00:00
helpers.rs chore: address clippy warnings 2024-12-29 15:03:43 +00:00
http_message.rs chore: address clippy warnings 2024-12-29 15:03:43 +00:00
keep_alive.rs add ws and http2 feature flags (#2618) 2022-01-31 21:22:23 +00:00
lib.rs Add option to allow/disallow half closures in HTTP/1 (#3777) 2025-10-04 23:03:26 +00:00
message.rs chore: move deny lints to manifests 2024-07-07 03:54:00 +01:00
notify_on_drop.rs chore: clippy 2024-02-12 23:02:45 +00:00
payload.rs Add from_bytes/u8_bytes to dev::Payload (#3595) 2025-03-09 16:40:00 +00:00
service.rs chore: disallow e bindings 2024-08-10 05:15:49 +01:00
test.rs Add option to allow/disallow half closures in HTTP/1 (#3777) 2025-10-04 23:03:26 +00:00