1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-12-04 20:31:55 +01:00
Commit Graph

4152 Commits

Author SHA1 Message Date
Rob Ede
75517cce82
install cargo hack in CI faster 2022-07-02 20:00:59 +01:00
Rob Ede
9b51624b27
update cargo-cache to 0.8.2 2022-07-02 18:43:19 +01:00
Rob Ede
8e2ae8cd40
install nextest faster 2022-07-02 18:38:08 +01:00
Rob Ede
9a2f8450e0
install older cargo-edit 2022-07-02 17:40:03 +01:00
Rob Ede
23ef51609e
s/cargo-add/cargo-edit 2022-07-02 17:29:06 +01:00
Rob Ede
f7d629a61a
fix cargo-add in CI 2022-07-02 17:20:46 +01:00
Rob Ede
e0845d9ad9
add msrv workarounds to ci 2022-07-02 17:12:24 +01:00
Rob Ede
2f79daec16
only run tests on stable 2022-07-02 17:05:48 +01:00
Rob Ede
f3f41a0cc7
prepare actix-http release 3.2.1 2022-07-02 16:50:54 +01:00
Rob Ede
987067698b
use sparse registry in CI 2022-07-01 12:45:26 +01:00
Rob Ede
b62f1b4ef7
migrate deprecated method in docs 2022-07-01 12:40:00 +01:00
Rob Ede
df5257c373
update trust dns resolver 2022-07-01 10:21:46 +01:00
Rob Ede
226ea696ce
update dev deps 2022-07-01 10:19:28 +01:00
Rob Ede
e524fc86ea
add HTTP/0.9 rejection test 2022-07-01 09:03:57 +01:00
Rob Ede
7e990e423f
add http/1.0 GET parsing tests 2022-07-01 08:24:45 +01:00
Rob Ede
8f9a12ed5d
fix parsing ambiguities for HTTP/1.0 requests (#2794)
* fix HRS vuln when first CL header is 0

* ignore TE headers in http/1.0 reqs

* update changelog

* disallow HTTP/1.0 requests without a CL header

* fix test

* broken fix for http1.0 post requests
2022-07-01 08:23:40 +01:00
Rob Ede
c6eba2da9b
prepare actix-http release 3.2.0 (#2801) 2022-07-01 06:16:17 +01:00
Rob Ede
06c7945801
retain previously set vary headers when using compress (#2798)
* retain previously set vary headers when using compress
2022-06-30 09:19:16 +01:00
Ulf Lilleengen
0dba6310c6
Expose option for setting TLS handshake timeout (#2752)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-06-27 02:57:21 +00:00
Rob Ede
f7d7d92984
address clippy lints 2022-06-27 03:12:36 +01:00
nerix
3d6ea7fe9b
Improve documentation for actix-web-actors (#2788) 2022-06-26 16:45:02 +00:00
PeterPierinakos
8dbf7da89f
Fix common grammar mistakes and add small documentation for AppConfig's Default implementation (#2793) 2022-06-25 14:01:06 +00:00
oatoam
de92b3be2e
fix unrecoverable Err(Overflow) in websocket frame parser (#2790) 2022-06-24 03:46:17 +00:00
e-rhodes
5d0e8138ee
Add getters for &ServiceRequest (#2786) 2022-06-22 21:02:03 +01:00
Yuki Okushi
6b7196225e
Bump up MSRV to 1.57 (#2789) 2022-06-22 12:08:06 +01:00
Isabel Atkinson
265fa0d050
Add link to MongoDB example in README (#2783) 2022-06-15 22:38:10 +01:00
Yuki Okushi
062127a210
Revert "actix-http: Pull actix-web dev-dep from Git repo"
This reverts commit 3926416580.
2022-06-12 00:55:06 +09:00
Yuki Okushi
3926416580
actix-http: Pull actix-web dev-dep from Git repo
The published version of actix-web depends on a buggy version of zstd crate,
temporarily use actix-web on git repo to avoid the build failure.

Signed-off-by: Yuki Okushi <jtitor@2k36.org>
2022-06-12 00:48:08 +09:00
Rob Ede
43671ae4aa
release 4.1 group (#2781) 2022-06-12 00:15:43 +09:00
Rob Ede
264a703d94
revert broken fix in #2624 (#2779)
* revert broken fix in #2624

* update changelog
2022-06-11 13:43:13 +01:00
Rob Ede
498fb954b3
migrate from deprecated sha-1 to sha1 (#2780)
closes #2778
2022-06-11 04:53:58 +01:00
Rob Ede
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
JY Choi
8e76a1c775
Allow a path as a guard in route handler macro (#2771)
* Allow a path as a guard in route handler macro

* Update CHANGES.md

Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-06-06 18:53:23 +01:00
Sabrina Jewson
dce57a79c9
Implement ResponseError for Infallible (#2769) 2022-05-30 20:52:48 +01:00
cui fliter
6a5b370206
fix some typos (#2744)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-04-24 22:01:20 +00:00
Rob Ede
b1c85ba85b
Add ServiceConfig::default_service (#2743)
* Add `ServiceConfig::default_service`

based on https://github.com/actix/actix-web/pull/2338

* update changelog
2022-04-23 22:11:45 +01:00
Matt Fellenz
9aab911600
Improve documentation for FromRequest::Future (#2734)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-04-23 20:57:11 +00:00
Rob Ede
017e40f733
update optional extractor impl docs 2022-04-23 21:02:24 +01:00
Rob Ede
45592b37b6
add Route::wrap (#2725)
* add `Route::wrap`

* add tests

* fix clippy

* fix doctests
2022-04-23 21:01:55 +01:00
Rob Ede
8abcb94512
fix tokio-uring version 2022-04-23 14:37:03 +01:00
Rob Ede
f2cacc4c9d
clear conn_data on HttpRequest drop (#2742)
* clear conn_data on HttpRequest drop

fixes #2740

* update changelog

* fix doc test
2022-04-23 13:35:41 +01:00
Rob Ede
56b9c0d08e
remove payload unwindsafe impl assert 2022-04-23 12:31:32 +01:00
Luca Palmieri
de9e41484a
Add ServiceRequest::extract (#2647)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-04-02 19:46:26 +01:00
Rob Ede
2fed978597
remove -http TestRequest doc test 2022-03-28 22:44:32 +01:00
Ali MJ Al-Nasrawy
40048a5811
rework actix_router::Quoter (#2709)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-03-28 20:58:35 +00:00
Rob Ede
e942d3e3b1
update migration guide 2022-03-26 13:26:12 +00:00
mellowagain
09cffc093c
Bump zstd to 0.11 (#2694)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-03-22 15:30:06 +00:00
nikstur
c58f287044
Removed random superfluous whitespace (#2705) 2022-03-20 21:36:19 +00:00
Rob Ede
7b27493e4c
move coverage to own workflow 2022-03-10 16:17:49 +00:00
Rob Ede
478b33b8a3
remove nightly io-uring job 2022-03-10 16:00:15 +00:00