Commit Graph

523 Commits

Author SHA1 Message Date
Rob Ede f56def9f95
fix todo in client request prepare errors 2021-06-10 17:40:47 +01:00
Rob Ede 03c03b608c
Merge remote-tracking branch 'origin/master' into to-forgive-divine 2021-06-10 16:27:18 +01:00
Victor Pirat 75f65fea4f
Extends Rustls ALPN protocols instead of replacing them when creating Rustls based services (#2226) 2021-06-10 16:25:21 +01:00
Rob Ede ce983d753e
Merge remote-tracking branch 'origin/master' into to-forgive-divine 2021-06-08 14:47:40 +01:00
Ibraheem Ahmed 2e1d761854
add Seal argument to sealed AsHeaderName methods (#2252) 2021-06-08 12:57:19 +01:00
Rob Ede 76ae9a0302
review tweaks 2021-06-05 18:15:08 +01:00
Rob Ede df25b43e67
fmt 2021-06-05 17:31:55 +01:00
Rob Ede 34efdff0de
clippy 2021-06-05 07:15:50 +01:00
Rob Ede cf1fbb3f39
fmt 2021-06-05 07:06:07 +01:00
Rob Ede 3e049171eb
fix doc tests 2021-06-05 07:04:13 +01:00
Rob Ede 28f89ff4fc
Merge remote-tracking branch 'origin/master' into to-forgive-divine 2021-06-05 05:13:55 +01:00
Rob Ede 9ce94fd91a
update tests with new bounds 2021-06-05 05:08:27 +01:00
Rob Ede d514680631
migrate error type (except tests) 2021-06-05 01:29:24 +01:00
Arthur Le Moigne 3479293416
Add zstd ContentEncoding support (#2244)
Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-06-03 21:32:52 +01:00
fakeshadow 3847429d00
Response::from_error take impl Into<Error> (#2214) 2021-05-26 13:41:48 +09:00
fakeshadow bb7d33c9d4
refactor h2 dispatcher to async/await.reduce duplicate code (#2211) 2021-05-25 03:21:20 +01:00
Rob Ede 93840507e1
clippy 2021-05-18 17:04:37 +01:00
Rob Ede 6353fdc581
add error tests to bodystream 2021-05-18 16:15:14 +01:00
Rob Ede 87c0181582
use into stderror bounds in dispatchers for body errors 2021-05-18 15:06:36 +01:00
Rob Ede ea6f0cd49a
change stream type errors 2021-05-18 14:48:04 +01:00
Rob Ede 18106170ce
add streaming example 2021-05-17 20:09:26 +01:00
Rob Ede 54542ca3b8
update changelog 2021-05-17 15:32:58 +01:00
Rob Ede 23502e8739
Merge branch 'master' into to-err-is-human 2021-05-17 14:41:12 +01:00
Rob Ede 1ad7c44c6e
fix trait bounds on web test and awc 2021-05-17 13:57:22 +01:00
Rob Ede 0448bbf8ab
change error bound to into response 2021-05-17 13:09:18 +01:00
Keita Nonaka b1de196509
Fix clippy warnings (#2217) 2021-05-15 01:13:33 +01:00
Rob Ede ba9950d81c
impl error for handshakeerror 2021-05-14 16:50:33 +01:00
Rob Ede 2a8c650f2c
move internalerror to actix web (#2215) 2021-05-14 16:40:00 +01:00
fakeshadow f277b128b6
cleanup ws test (#2213) 2021-05-13 12:24:32 +01:00
Rob Ede 4903950b22
update changelog 2021-05-09 20:15:49 +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 ddaf8c3e43
add associated error type to MessageBody (#2183) 2021-05-05 18:36:02 +01:00
Aaron Hill dd1a3e7675
Fix loophole in soundness of `__private_get_type_id__` (#2199) 2021-05-05 11:16:12 +01:00
Luca Palmieri c17662fe39
Reduce the level of the emitted log line from `error` to `debug`. (#2196)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-05-03 00:58:14 +01:00
Voldracarno Draconor 1fcf92e11f
Update dependency "language-tags" (#2188) 2021-04-28 01:23:12 +01:00
Rob Ede a7cd4e85cf
use stable codec 0.4.0 2021-04-21 11:14:22 +01:00
Rob Ede 427fe6bd82
improve responseerror trait docs 2021-04-19 23:16:04 +01:00
Rob Ede 52bb2b5daf
hide downcast macros 2021-04-19 03:42:53 +01:00
Rob Ede db97974dc1
make some http re-exports more accessible (#2171) 2021-04-19 03:29:38 +01:00
Rob Ede 35f8188410
restore cookie methods on ServiceRequest 2021-04-19 02:24:20 +01:00
Rob Ede f743e885a3
prepare http release 3.0.0-beta.6 2021-04-17 15:24:18 +01:00
Rob Ede 5747f84736
bump utils to stable v3 2021-04-17 02:07:33 +01:00
Rob Ede d8f56eee3e
bump service to stable v2 2021-04-16 20:28:21 +01:00
fakeshadow 845c02cb86
Add responder impl for Cow<str> (#2164) 2021-04-16 00:54:51 +01:00
Rob Ede ff65f1d006
non exhaustive http errors (#2161) 2021-04-14 06:07:59 +01:00
fakeshadow a9f26286f9
reduce branches in h1 dispatcher poll_keepalive (#2089) 2021-04-14 05:20:45 +01:00
Rob Ede 037ac80a32
document messagebody trait items 2021-04-14 03:23:15 +01:00
Rob Ede 1bfdfd1f41
implement parts as assoc method 2021-04-14 02:57:28 +01:00