fakeshadow
15b8dba2c7
clean up h1 dispatcher. add comments
2021-02-03 04:32:17 -08:00
fakeshadow
bfe47b2034
update deps
2021-02-02 06:34:56 -08:00
fakeshadow
0c4b3fcc54
Merge branch 'master' into feat/immutable
2021-01-28 06:13:54 -08:00
fakeshadow
51e54dac8b
fix limit not working on HttpMessageBody::limit ( #1938 )
2021-01-27 10:49:57 +00:00
Jonas Platte
c201c15f8c
Improve documentation for PayloadConfig ( #1923 )
2021-01-24 00:32:10 +00:00
fakeshadow
e1013c27be
fix clippy warning. revive two tests from actix-files
2021-01-24 01:02:54 +08:00
fakeshadow
7ab432e41c
relax ConnectorConfig default timeout
2021-01-23 22:34:18 +08:00
fakeshadow
5e2d776a8f
remove mutable borrow of service state from actix_http::client and awc
2021-01-22 22:09:24 -08:00
fakeshadow
5f2e383436
update changelog
2021-01-22 20:28:45 -08:00
fakeshadow
3e1fc93ab7
update dep override. merge branch master
2021-01-22 19:55:29 -08:00
Logan Magee
0c8196f8b0
Remove HttpResponseBuilder::json2() ( #1903 )
...
It's not necessary to keep both json() and json2() around since the
former reduces the ownership of its parameter to a borrow only to pass
the reference to the latter. Users can instead borrow themselves when
passing an owned value: there doesn't need to be two separate functions.
This change also makes HttpResponseBuilder::json() take T: Deref so it
can accept both references and web extractors like web::Json.
2021-01-18 12:14:29 +00:00
Rob Ede
ee10148444
revive commented out tests ( #1912 )
2021-01-17 05:19:32 +00:00
fakeshadow
1c95fc2654
Refactor poll_keepalive for readability ( #1901 )
2021-01-16 00:15:06 +00:00
Rob Ede
da69bb4d12
implement `App::data` as `App::app_data(Data::new(T)))` ( #1906 )
2021-01-15 23:37:33 +00:00
fakeshadow
b5e8ed9198
fix actix-web-codegen test
2021-01-15 20:50:39 +08:00
fakeshadow
bbf90697b0
use Router::recognize_checked
2021-01-15 20:26:40 +08:00
Rob Ede
0a506bf2e9
cleanup top level doc comments
2021-01-15 05:38:50 +00:00
Rob Ede
b2a9ba2ee4
Update PULL_REQUEST_TEMPLATE.md
2021-01-15 04:54:23 +00:00
Rob Ede
f976150b67
return option item from Extensions::insert ( #1904 )
2021-01-15 04:22:42 +00:00
Rob Ede
b1dd8d28bc
response header rework ( #1869 )
2021-01-15 02:11:10 +00:00
fakeshadow
4c6c899b6e
fix actix-http-test
2021-01-15 05:08:16 +08:00
fakeshadow
2bf21631fe
fix fmt
2021-01-15 04:44:19 +08:00
fakeshadow
8eef8d9e10
migrate to immutable service triat
2021-01-15 04:34:24 +08:00
fakeshadow
4edeb5ce47
optimize ErrorHandler middleware ( #1902 )
2021-01-14 01:43:44 +00:00
fakeshadow
d34a8689e5
Refactor h1 encoder ( #1900 )
2021-01-12 14:38:53 +00:00
Robin Schoonover
a919d2de56
actix-files: Fix If-(Un)Modified to not consider sub-seconds ( #1887 )
2021-01-11 18:18:23 +00:00
fakeshadow
46a8f28b74
fix actix-files doc about thread pool ( #1898 )
2021-01-11 17:27:33 +00:00
fakeshadow
57398c6df1
Refactor/service request ( #1893 )
2021-01-11 01:29:16 +00:00
fakeshadow
7affc6878e
simplify h1 dispatcher ( #1899 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-01-11 00:13:56 +00:00
fakeshadow
46b2f7eaaf
use a non leak pool for HttpRequestInner ( #1889 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-01-10 22:59:44 +00:00
fakeshadow
9e401b6ef7
refactor Scope ( #1895 )
2021-01-09 18:06:49 +00:00
fakeshadow
fe392abeb4
remove actix-threadpool.use actix_rt::task::spawn_blocking ( #1878 )
2021-01-09 16:04:19 +00:00
fakeshadow
f6cc829758
remove leaked box in REQUEST_POOL and RESPONSE_POOL ( #1896 )
2021-01-09 15:40:20 +00:00
Rob Ede
6575ee93f2
big clean up and docs improvmenet of types mod ( #1894 )
2021-01-09 13:17:19 +00:00
fakeshadow
530d03791d
refactor Resource ( #1883 )
2021-01-09 03:36:58 +00:00
fakeshadow
d40ae8c8ca
use sync method on Responder trait ( #1891 )
2021-01-08 22:17:19 +00:00
Rob Ede
2204614134
don't run awc doctests that rely on external public endpoints ( #1888 )
2021-01-08 12:00:58 +00:00
fakeshadow
188ee44f81
remove copyless dependency ( #1884 )
2021-01-07 21:55:00 +00:00
fakeshadow
a4c9aaf337
fix extra branch in h1 dispatcher timer ( #1882 )
2021-01-07 20:42:09 +00:00
Rob Ede
c09186a2c0
prepare v4 beta releases ( #1881 )
2021-01-07 20:02:08 +00:00
Rob Ede
d3c476b8c2
use env_logger builders in examples
2021-01-07 02:41:05 +00:00
Rob Ede
dc23559f23
address clippy lints
2021-01-07 02:04:26 +00:00
fakeshadow
6d710629af
fix bug where upgrade future is not reset properly ( #1880 )
2021-01-07 00:57:34 +00:00
Rob Ede
85753130d9
fmt
2021-01-07 00:35:19 +00:00
Rob Ede
00ba8d5549
add http3 variant to protocol enum
2021-01-06 18:58:24 +00:00
Rob Ede
51e9e1500b
add docs to recent additions
2021-01-06 18:52:06 +00:00
fakeshadow
a03dbe2dcf
replace cloneable service with httpflow abstraction ( #1876 )
2021-01-06 18:43:52 +00:00
fakeshadow
57a3722146
More refactor of app_service ( #1879 )
2021-01-06 18:11:20 +00:00
fakeshadow
57da1d3c0f
refactor app_service ( #1877 )
2021-01-06 11:35:30 +00:00
Rob Ede
68117543ea
major cleanup of middleware module ( #1875 )
...
* major cleanup of middleware module
* update changelog
2021-01-05 09:51:58 +00:00