1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-26 06:57:43 +02:00

http service finalizer for automatic h2c detection (#2957)

* http service finalizer for automatic h2c detection

* update changelog

* add h2c auto test
This commit is contained in:
Rob Ede
2023-01-03 14:43:02 +00:00
committed by GitHub
parent fbd0e5dd0a
commit 08c2cdf641
5 changed files with 126 additions and 31 deletions

View File

@ -4,6 +4,7 @@
### Added
- Implement `MessageBody` for `&mut B` where `B: MessageBody + Unpin`. [#2868]
- Implement `MessageBody` for `Pin<B>` where `B::Target: MessageBody`. [#2868]
- Automatic h2c detection via new service finalizer `HttpService::tcp_auto_h2c()`. [#2957]
- `HeaderMap::retain()` [#2955].
- Header name constants in `header` module. [#2956]
- `CROSS_ORIGIN_EMBEDDER_POLICY`
@ -18,6 +19,7 @@
[#2868]: https://github.com/actix/actix-web/pull/2868
[#2890]: https://github.com/actix/actix-web/pull/2890
[#2957]: https://github.com/actix/actix-web/pull/2957
[#2955]: https://github.com/actix/actix-web/pull/2955
[#2956]: https://github.com/actix/actix-web/pull/2956