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

126 Commits

Author SHA1 Message Date
758ae1dac1 actix-test: allow the configuration of the TestServer address (#3351)
* actix-test: allow the configuration of the TestServer address

This is useful if you're running (say) Selenium tests against a running TestServer, and the Selenium workers are Docker containers elsewhere in the network.
Not a *particularly* common use case, perhaps, but one that I can attest happens every now and then.

* Update CHANGES.md

* Adjust default listen address to avoid test failures

---------

Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-06-09 19:07:08 +00:00
d6f885127d chore(actix-test): prepare release 0.1.4 2024-06-09 00:16:36 +01:00
cff958e518 chore: address clippy lint 2024-06-07 16:10:25 +01:00
8b4d23a69a Allow disabling redirect following in actix-test (#3356)
If you're testing that redirects are being properly generated, then it's
useful to not have the client go off on a wild goose chase of its own.

Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-06-07 14:40:55 +00:00
9a437fe835 chore(awc): prepare release 3.5.0 2024-05-19 10:16:16 +01:00
59115bca49 chore(actix-web): prepare release 4.6.0 2024-05-19 10:15:48 +01:00
fe7268487a chore(actix-http): prepare release 3.7.0 2024-05-19 10:14:30 +01:00
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
0a2788d662 actix-test: re-export types from awc (#3349)
This allows us to pass these types around in functions, without having
to add `awc` as a direct (dev-)dependency.

Co-authored-by: Rob Ede <robjtede@icloud.com>
2024-05-18 18:57:35 +00:00
1e08ebabf9 build: bump MSRV to 1.72 2024-02-13 01:24:34 +00:00
1e2ef6f92f perf: remove unnecessary allocation when writing http dates (#3261) 2024-02-07 03:47:30 +00:00
3f2fd2d59f chore(actix-test): prepare release 0.1.3 2024-02-04 00:33:42 +00:00
73fa1184f1 chore(awc): prepare release 3.4.0 2024-02-04 00:32:57 +00:00
8e9e9fbcdd chore(actix-web): prepare release 4.5.0 2024-02-04 00:32:28 +00:00
8db3de6ede chore(actix-http): prepare release 3.6.0 2024-02-04 00:31:14 +00:00
2125aca2c5 Rustls v0.22 support (#3275) 2024-02-03 23:55:01 +00:00
989548e36a chore: remove git from repo URLs 2023-11-10 14:06:38 +00:00
e6636f1279 chore(actix-test): prepare release 0.1.2 2023-08-29 01:55:17 +01:00
384ca0a2cd chore: remove dates from changelogs 2023-08-29 01:14:33 +01:00
905c30af86 Actix Web Rustls v0.21 support (#3116) 2023-08-29 01:11:11 +01:00
b4fcdffdc3 chore: update msrv to 1.68 (#3094) 2023-08-01 19:33:32 +01:00
4272510261 doc amendments 2023-07-19 19:27:20 +01:00
908fb2606e allow configuring number of test server workers (#3069)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-07-19 16:48:43 +00:00
79a38e0628 apply standard formatting 2023-07-17 02:38:12 +01:00
241da6e081 update MSRV to 1.65 (#3059) 2023-07-02 01:09:15 +01:00
67efa4a4db migrate to doc_auto_cfg 2023-02-26 21:55:25 +00:00
d77bcb0b7c update date in unreleased changelog sections 2023-02-26 21:45:36 +00:00
129b78f9c7 prepare actix-test release 0.1.1 2023-02-26 14:20:48 +00:00
fbfff3e751 actix-test: allow dynamic port setting (#2960)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-02-26 05:25:36 +00:00
4e05629368 specify safe tokio version range 2023-02-26 03:47:25 +00:00
e2fed91efd format markdown with prettier 2023-02-26 03:26:51 +00:00
4bff1d0abe require safe tokio version range
see https://rustsec.org/advisories/RUSTSEC-2023-0005
2023-02-03 20:35:19 -05:00
b9f54c8796 use secure tokio version range
see RUSTSEC-2023-0001

fixes #2962
2023-01-10 08:58:38 +00:00
6f0a6bd1bb address clippy lints
For intrepid commit message readers:
The choice to add allows for the inlined format args lint instead of actually
inlining them is not very clear because our actual real world MSRV is not clear.
We currently claim 1.60 is our MSRV but this is mainly due to dependencies. I'm
fairly sure that we could support < 1.58 if those deps are outdated in a users
lockfile. We'll remove these allows again at some point soon.
2023-01-01 20:56:34 +00:00
29bd6a1dd5 fix version requirement for futures_util 2022-12-18 01:34:48 +00:00
679f61cf37 bump msrv to 1.59 2022-08-27 13:14:16 +01:00
d78ff283af prepare actix-test release 0.1.0 2022-07-24 02:13:46 +01:00
ce6d520215 prepare actix-http-test release 3.0.0 2022-07-24 02:11:21 +01:00
6b7196225e Bump up MSRV to 1.57 (#2789) 2022-06-22 12:08:06 +01:00
2253eae2bb update msrv to 1.56 (#2777)
* update msrv to 1.56

* remove transitive dashmap dependency

closes #2747
2022-06-11 04:03:26 +01:00
8ddb24b49b prepare awc release 3.0.0 (#2684) 2022-03-08 16:51:40 +00:00
d0c08dbb7d prepare releases: actix-http 3.0.0 and actix-web 4.0.0 (#2663) 2022-02-25 18:46:35 +00:00
11bfa84926 rename simple_service to status_service (#2659) 2022-02-22 07:06:36 +00:00
151a15da74 prepare actix-http release 3.0.0-rc.4 2022-02-22 00:21:49 +00:00
51e573b888 prepare actix-test release 0.1.0-beta.13 2022-02-16 03:13:41 +00:00
38e015432b prepare actix-http-test release 3.0.0-beta.13 2022-02-16 03:13:22 +00:00
a0c4bf8d1b prepare awc release 3.0.0-beta.21 2022-02-16 03:10:01 +00:00
594e3a6ef1 prepare actix-http release 3.0.0-rc.3 2022-02-16 03:07:12 +00:00
a808a26d8c bump actix-codec to 0.5 2022-02-15 20:49:10 +00:00
593fbde46a prepare actix-web release 4.0.0-rc.3 2022-02-08 09:31:48 +00:00