1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-23 16:21:06 +01:00
actix-web/actix-http/examples
asonix 2e63ff5928
actix-web: Add rustls 0.23 (#3363)
* Fix type confusion in some scenarios

When the feature for rustls 0.22 is enabled, and rustls 0.23 is also
present in a project, there suddently exist multiple paths for errors
when building middleware chains due to the use of two consecutive `?`
operators without specifying the intermediate error type.

This commit addresses the issue by removing the first `?`, so that the
first error type will always be known, and the second `?` always has a
well defined implementation.

* Add CHANGES entry about type confusion

* actix-http: add rustls 0.23 support

* actix-http: update ws example, tests for rustls 0.23

* actix-http: add rustls 0.23 to changelog

* Update comments to mention 0.23 instead of 0.22

* awc: add rustls 0.23 support

This also fixes certificate lookup when native-roots is enabled for rustls 0.22.

* awc: update changelog for rustls 0.23

* awc: Add base rustls-0_23 feature without roots to better enable custom config

* actix-test: add rustls-0.23

* actix-test: add rustls 0.23 to changelog

* awc: update changelog with rustls 0.23 tweaks

* actix-web: add rustls 0.23

* Add rustls-0_23 to CI

* Update tls_rustls.rs

* review nits

* review nits part 2

* fix doc test

---------

Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-05-18 19:05:58 +00:00
..
actix-web.rs update actix-web-in-http example 2022-03-05 23:43:31 +00:00
bench.rs fix request head timeout (#2611) 2022-01-31 17:30:34 +00:00
echo2.rs move response extensions out of head (#2585) 2022-01-19 02:09:25 +00:00
echo.rs use tracing in actix-http 2022-03-10 03:12:29 +00:00
h2c-detect.rs fix: standardize body stream error reporting 2024-02-04 03:11:48 +00:00
h2spec.rs fix request head timeout (#2611) 2022-01-31 17:30:34 +00:00
hello-world.rs apply standard formatting 2023-07-17 02:38:12 +01:00
streaming-error.rs use tracing in actix-http 2022-03-10 03:12:29 +00:00
tls_rustls.rs actix-web: Add rustls 0.23 (#3363) 2024-05-18 19:05:58 +00:00
ws.rs actix-http: Add rustls 0.23 (#3361) 2024-05-18 19:22:53 +01:00