Yuki Okushi
7ba14fd113
Run rustfmt
2020-02-27 11:10:55 +09:00
Aaron Hill
e6811e8818
Use #[pin_project] with ConnectorPoolSupport
...
This removes a use of `Pin::get_unchecked_mut`
2020-02-19 21:42:53 -05:00
Aaron Hill
74dcc7366d
Remove several uses of Pin::new_unchecked
( #1294 )
...
Most of the relevant struct already had a `#[pin_project]` attribute,
but it wasn't being used.
The remaining uses of `Pin::new_unchecked` all involve going from a
`&mut T` to a `Pin<&mut T>`, without directly observing a `Pin<&mut T>`
first. As such, they cannot be replaced by `pin_project`
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-01-28 12:35:51 +09:00
Nikolay Kim
c1deaaeb2f
cleanup imports
2019-12-13 11:24:57 +06:00
Nikolay Kim
6c9f9fff73
clippy warnings
2019-12-08 00:46:51 +06:00
Nikolay Kim
205a964d8f
upgrade to tokio 0.2
2019-12-05 23:35:43 +06:00
Nikolay Kim
b45c6cd66b
replace hashbrown with std hashmap
2019-12-04 18:33:43 +06:00
Nikolay Kim
4dc31aac93
use actix_rt::test for test setup
2019-11-26 11:25:50 +06:00
Nikolay Kim
1ffa7d18d3
drop unpin constraint
2019-11-21 16:02:17 +06:00
Nikolay Kim
9e95efcc16
migrate client to std::future
2019-11-21 16:02:17 +06:00
Nikolay Kim
8cba1170e6
make actix-http compile with std::future
2019-11-21 16:02:17 +06:00
Nikolay Kim
60b7aebd0a
fmt & clippy
2019-09-12 21:52:46 +06:00
Armin Ronacher
915010e733
Fixes a bug in OpenWaitingConnection where the h2 flow would panic a future ( #1031 )
2019-08-13 14:55:04 +02:00
Nikolay Kim
7674f1173c
fix awc client panic #1016
2019-07-30 08:00:46 -07:00
Nikolay Kim
baaa7b3fbb
Replace ClonableService with local copy
2019-07-17 13:55:44 +06:00
Nikolay Kim
d2b0afd859
Fix http client pool and wait queue management
2019-04-23 14:57:03 -07:00
Nikolay Kim
5d531989e7
Fix BorrowMutError panic in client connector #793
2019-04-23 09:42:19 -07:00
Nikolay Kim
fc9b14a933
allow to specify server address for http and ws requests
2019-04-19 18:03:44 -07:00
Nikolay Kim
b1547bbbb6
do not set default headers
2019-04-08 11:09:57 -07:00
Nikolay Kim
aa78565453
use objects pool for HttpRequest; optimize nested services call
2019-04-07 23:06:21 -07:00
Nikolay Kim
c59937784e
add client websockets support
2019-03-27 18:53:19 -07:00
Nikolay Kim
c7ad677804
Merge actix-http project
2019-03-26 11:54:35 -07:00