1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-06-02 13:29:24 +00:00
actix-web/actix-web/tests
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
..
fixtures move actix-web to own dir 2022-02-01 00:30:41 +00:00
compression.rs Make compression middleware prefer brotli over zstd over gzip (#3189) 2023-11-19 18:54:08 +00:00
test-macro-import-conflict.rs move actix-web to own dir 2022-02-01 00:30:41 +00:00
test_error_propagation.rs move actix-web to own dir 2022-02-01 00:30:41 +00:00
test_httpserver.rs chore: remove allow(uninlined_format_args) 2023-12-16 10:33:00 +00:00
test_server.rs actix-web: Add rustls 0.23 (#3363) 2024-05-18 19:05:58 +00:00
test_weird_poll.rs move actix-web to own dir 2022-02-01 00:30:41 +00:00
utils.rs apply standard formatting 2023-07-17 02:38:12 +01:00
weird_poll.rs move actix-web to own dir 2022-02-01 00:30:41 +00:00