Rob Ede
e9554bf851
rename feature and add changelog
2021-11-21 21:12:25 +00:00
Rob Ede
3dfa8b0faf
Merge remote-tracking branch 'origin/master' into feat/io-uring
2021-11-21 21:05:05 +00:00
Rob Ede
194a691537
files: 304 Not Modified responses omit Content-Length header ( #2453 )
2021-11-19 14:04:12 +00:00
Rob Ede
68a8fce4ec
Merge branch 'master' into feat/io-uring
2021-11-19 13:42:37 +00:00
Rob Ede
56ee97f722
add files path traversal tests
2021-11-18 18:14:34 +00:00
Rob Ede
d30c86191c
Merge branch 'master' into feat/io-uring
2021-11-15 16:05:16 +00:00
Rob Ede
a2f59c02f7
bump actix-server to beta 9 ( #2442 )
2021-11-15 04:03:33 +00:00
fakeshadow
1cc191dabb
Merge branch 'master' into feat/io-uring
2021-10-21 12:03:38 +08:00
fakeshadow
f8032adfd5
fix double drop on error of getting file metadata
2021-10-21 11:45:42 +08:00
Rob Ede
c79b9a0df3
prepare actix-files release 0.6.0-beta.8
2021-10-20 23:32:46 +01:00
fakeshadow
8c8746b732
Merge branch 'master' into feat/io-uring
2021-10-21 05:51:54 +08:00
Rob Ede
9abe166d52
actix-web beta 10 releases ( #2417 )
2021-10-20 22:32:05 +01:00
Rob Ede
31bbd73545
Merge branch 'master' into feat/io-uring
2021-10-20 02:08:43 +01:00
Rob Ede
591abc37c3
add test runtime macro ( #2409 )
2021-10-19 17:30:32 +01:00
Rob Ede
ad22cc4e7f
bump msrv to 1.52.1
2021-10-19 01:59:28 +01:00
fakeshadow
c284b4c169
reduce clones called on pathbuf
2021-10-19 04:25:45 +08:00
fakeshadow
5bf874e925
fix test
2021-10-18 09:08:59 +08:00
fakeshadow
159428a109
remove actix-util as dep
2021-10-18 08:56:37 +08:00
fakeshadow
e2ac85a0b4
fix tests
2021-10-18 03:54:26 +08:00
fakeshadow
cba70f682a
fix a couple of doc test by using async api
2021-10-17 21:48:41 +08:00
fakeshadow
8bc92b764f
remove NamedFile::open from io-uring feature
2021-10-17 09:33:26 +08:00
fakeshadow
200cf0c073
add re-used buffer for io-uring feature
2021-10-17 16:07:23 +08:00
fakeshadow
5d3d1fb20e
fix clippy warning
2021-10-17 04:10:15 +08:00
fakeshadow
a751be73cc
reduce heap allocation when chunked streaming.
2021-10-17 01:38:47 +08:00
fakeshadow
9ffabe946f
fix raw fd drop.
2021-10-14 08:27:30 +08:00
fakeshadow
3e578e839b
fix foreign File::open API
2021-10-14 06:02:03 +08:00
fakeshadow
3f72074270
duplicate one test for io-uring feature
2021-10-14 05:51:17 +08:00
fakeshadow
09328847b3
fix clippy
2021-10-14 05:39:25 +08:00
fakeshadow
bf724545f3
implement io-uring for actix-files
2021-10-14 05:09:30 +08:00
Arniu Tseng
8ae278cb68
Remove `FromRequest::Config` ( #2233 )
...
Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-09-11 01:11:16 +01:00
Rob Ede
ba88d3b4bf
prepare actix-web beta.9 releases ( #2381 )
...
* prepare actix-router release 0.5.0-beta.2
* prepare actix-web-codegen release 0.5.0-beta.4
* prepare actix-http release 3.0.0-beta.10
* prepare awc release 3.0.0-beta.8
* prepare actix-web release 4.0.0-beta.9
* prepare actix-http-test release 3.0.0-beta.6
* prepare actix-test release 0.1.0-beta.4
* prepare actix-files release 0.6.0-beta.7
* prepare actix-multipart release 0.4.0-beta.6
* prepare actix-web-actors release 4.0.0-beta.7
* fix http test version
* re-add patch
* update router repo url
* fix http test readme version
2021-09-09 01:35:41 +01:00
Rob Ede
5128b1bdfc
bump msrv to 1.51
2021-08-30 23:19:03 +01:00
Ali MJ Al-Nasrawy
f9da6e48e0
ResourceDef: define behavior for prefix with trailing slash ( #2355 )
...
* ResourceDef: define behavior
* fix tests
* add scope test
* revert firestorm bump
* update changelog
* fmt
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-08-30 20:05:49 +01:00
Rob Ede
5f412c67db
clippy
2021-08-13 18:49:58 +01:00
Rob Ede
604be5495f
prepare beta.8 releases ( #2292 )
2021-06-26 16:33:36 +01:00
Igor Aleksanov
262c6bc828
Various refactorings ( #2281 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-06-26 15:33:43 +01:00
Ali MJ Al-Nasrawy
09afd033fc
files: file path filtering closure ( #2274 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-06-25 14:21:57 +01:00
Rob Ede
7faeffc5ab
prepare actix-test release 0.1.0-beta.3
2021-06-20 19:47:42 +01:00
Ali MJ Al-Nasrawy
6893773280
files: allow `show_files_listing()` with `index_file()` ( #2228 )
2021-06-19 21:00:31 +01:00
Rob Ede
c260fb1c48
beta.7 releases ( #2266 )
2021-06-19 11:51:20 +01:00
Rob Ede
532f7b9923
refined error model ( #2253 )
2021-06-17 17:57:58 +01:00
Ali MJ Al-Nasrawy
8d124713fc
files: inline disposition for common web app file types ( #2257 )
2021-06-16 20:33:22 +01:00
Ali MJ Al-Nasrawy
812269d656
clarify docs for BodyEncoding::encoding() ( #2258 )
2021-06-10 15:38:35 +01:00
Ali MJ Al-Nasrawy
e5b713b04a
files: Fix `redirect_to_slash_directory()` when used with `show_files_listing()` ( #2225 )
2021-05-26 10:42:29 +01:00
Keita Nonaka
b1de196509
Fix clippy warnings ( #2217 )
2021-05-15 01:13:33 +01:00
Rob Ede
f55e8d7a11
remove error field from response
2021-05-09 20:15:48 +01:00
Rob Ede
900c9e270e
remove responsebody indirection from response ( #2201 )
2021-05-09 20:12:48 +01:00
Rob Ede
947caa3599
examples use info log level by default
2021-05-06 20:24:18 +01:00
Rob Ede
6a29a50f25
files doc wording
2021-04-22 18:37:45 +01:00
Rob Ede
75867bd073
clean up files service docs and rename method
...
follow on from #2046
2021-04-22 18:31:21 +01:00