Rob Ede
2799f2a21a
fix changelog
2023-07-19 20:00:39 +01:00
Rob Ede
a70ee1ac08
Merge branch 'master' into no-compress-media
2023-07-19 20:00:17 +01:00
Nathan Shaaban
80185ce741
Hide authorization header in httprequest debug output ( #2953 )
...
Co-authored-by: Nathan Shaaban <86252985+nshaaban-cPacket@users.noreply.github.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-07-19 18:51:17 +00:00
Rob Ede
4a89d16543
assert auto traits on Compress
2023-07-19 19:47:51 +01:00
Rob Ede
4bba8f23b6
remove predicate options
2023-07-19 19:47:03 +01:00
Rob Ede
4272510261
doc amendments
2023-07-19 19:27:20 +01:00
Kristian Gaylord
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
Rob Ede
f30422cf98
Merge branch 'master' into fix-compression-middleware-images
2023-07-19 13:11:12 +01:00
nerix
b061f00421
Provide documentation in the `middleware` module ( #3070 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-07-19 10:24:14 +00:00
Rob Ede
f6eed980c4
Merge branch 'master' into fix-compression-middleware-images
2023-07-19 03:52:50 +01:00
Rob Ede
3b9b38c44e
fix tempfile dep spec
2023-07-18 02:22:09 +01:00
Rob Ede
a4c9361791
ci: fix windows openssl
2023-07-18 02:18:43 +01:00
James Rowe
bf03207ca9
Add http2 optional feature ( #3072 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-07-17 20:59:10 +00:00
Rob Ede
79a38e0628
apply standard formatting
2023-07-17 02:38:12 +01:00
Rob Ede
60c76c5e10
revert http2 feature flag change
2023-07-17 02:19:26 +01:00
Rob Ede
e4e839f4d1
only enable actix-http's http2 feature when TLS features are enabled
...
closes #3071
2023-07-17 01:51:10 +01:00
Rob Ede
c34a18f64a
changelog file is optional in bump script
2023-07-17 01:47:26 +01:00
mitsubosh
ce3af777a0
Fix typo ( #3062 )
2023-07-05 16:29:10 +00:00
Dylan DPC
0e8ed50e3a
align awc's h2 version ( #3051 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-07-02 00:56:12 +00:00
Raminder Singh
4eeb01415c
Fix failing test on Windows ( #3037 )
2023-07-02 00:36:06 +00:00
Rob Ede
241da6e081
update MSRV to 1.65 ( #3059 )
2023-07-02 01:09:15 +01:00
Rob Ede
1072d0dacf
address lints
2023-06-09 15:15:09 +01:00
Imamuzzaki Abu Salam
58c19b817f
docs(actix-web/README.md): update benchmark link ( #3046 )
...
Round 20 doesn't have actix score, but round 21 has. So I changed it to the round 21 link for everyone to see this is one of the best frameworks for Web/API.
2023-06-09 14:29:10 +01:00
moh-eulith
17218dc6c8
minor optimization: reserve buffer once length is known (ws) ( #2950 )
2023-05-07 15:13:10 +00:00
Rob Ede
6fdda45ca3
update bitflags to v2
2023-05-06 11:38:51 +01:00
Rob Ede
8b2b755cde
fix guard mod docs
2023-05-06 11:37:11 +01:00
Yuki Okushi
de1efa673f
Refine GHA workflows ( #3023 )
2023-04-24 04:46:57 +09:00
Surya
5d4f591875
fix RUSTSEC-2023-0034 by updating h2 ( #3022 )
2023-04-22 12:53:35 +00:00
Rob Ede
1c6ba2b0a8
Merge branch 'master' into fix-compression-middleware-images
2023-04-11 00:16:31 +01:00
Rob Ede
e81dc768dc
expose h2c methods on HttpServer ( #2999
...
* expose h2c methods on HttpServer
* update h2c docs
2023-04-06 03:11:28 +01:00
Rob Ede
0216cb186e
add Compress::with_predicate
2023-04-02 05:54:34 +01:00
Rob Ede
2b543437c3
Merge branch 'master' into fix-compression-middleware-images
2023-04-02 04:17:44 +01:00
Rob Ede
97399e8c8c
simplify CI
2023-04-02 03:27:14 +01:00
Elijah
8dee8a1426
docs(actix-http-test): update test server example ( #3007 )
2023-03-31 18:09:13 +00:00
Rob Ede
e68f87f84f
add API diff to CI ( #3002 )
2023-03-15 13:32:55 +00:00
Rob Ede
0f3068f488
ci(windows): use choco to install openssl ( #3003
...
ci: remove openssl install on windows
2023-03-15 05:39:02 +00:00
William R. Arellano
a3ec0ccf99
misc: improve default compress function
2023-03-14 22:21:18 -05:00
William R. Arellano
e9a1aeebce
feat(compress): give more control to the user
2023-03-14 22:00:08 -05:00
William R. Arellano
14b09e35d1
feat(compress): use response content type to decide compress
2023-03-14 21:55:15 -05:00
William R. Arellano
2bfc170fb0
feat(compress): add compress function to middleware
2023-03-14 16:40:33 -05:00
William R. Arellano
42fd6290d6
Merge branch 'actix:master' into fix-compression-middleware-images
2023-03-14 16:06:27 -05:00
Rob Ede
5e29726c4f
standardize error messages in actix-http
2023-03-13 17:17:02 +00:00
Rob Ede
442fa279da
uncomment error variant
2023-03-13 14:30:21 +00:00
Rob Ede
bfdc29ebb8
normalize actix-files error messages
2023-03-13 14:22:50 +00:00
Rob Ede
0e7380659f
implement Error for BodyLimitExceeded
2023-03-13 13:40:09 +00:00
Rob Ede
44c5cdaa10
bound initial allocation in to_bytes_limited
2023-03-13 13:40:07 +00:00
Rob Ede
9e7a6fe57b
add `body::to_bytes_limited` ( #3000
...
* add body::to_body_limit
* rename to_bytes_limited
2023-03-13 13:31:48 +00:00
Rob Ede
dfaca18584
add compression_responses benchmark ( #3001 )
2023-03-12 15:32:07 +00:00
Rob Ede
19c9d858f2
support 16 extractors
2023-03-12 04:29:22 +00:00
Rob Ede
4131786127
remove old benchmarks
2023-03-11 23:20:02 +00:00