fakeshadow
c065729468
rework client connection pool ( #1994 )
2021-02-16 08:27:14 +00:00
fakeshadow
830fb2cdb2
properly drop h2 connection ( #1926 )
2021-02-07 03:51:36 +00:00
fakeshadow
41bc04b1c4
Use immutable reference of service state. Update awc dns resolver. ( #1905 )
2021-02-07 01:00:40 +00:00
Rob Ede
b1dd8d28bc
response header rework ( #1869 )
2021-01-15 02:11:10 +00:00
Rob Ede
2d4a174420
fmt
2021-01-04 01:01:35 +00:00
Rob Ede
21f6c9d7a5
improve code readability
2021-01-04 00:49:02 +00:00
fakeshadow
32de9f8840
Tokio 1.0 ( #1813 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-01-03 23:47:04 +00:00
fakeshadow
95ccf1c9bc
replace actix_utils::oneshot with futures_channle::oneshot ( #1844 )
2020-12-21 16:42:20 +00:00
Rob Ede
7787638f26
fix CI clippy warnings ( #1664 )
2020-09-10 14:46:35 +01:00
fakeshadow
160995b8d4
fix awc pool leak ( #1626 )
2020-08-09 21:49:43 +01:00
Yuki Okushi
92b5bcd13f
Check format and tweak CI config ( #1619 )
2020-07-22 00:28:33 +01:00
Patrick Tescher
e10eb648d9
Fix leaks with actix_http's client ( #1580 )
2020-07-10 22:35:22 +01:00
Rob Ede
9d94fb91b2
correct spelling of ConnectError::Unresolved ( #1487 )
...
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-05-08 02:26:48 +09:00
Maxim Vorobjov
10e3e72595
Http2 client configuration to improve performance ( #1394 )
...
* add defaults for http2 client configuration
* fix spaces
* Add changes text for extended H2 defaults buffers
* client: configurable H2 window sizes and max_http_version
* add H2 window size configuration and max_http_version to awc::ClientBuilder
* add awc::ClientBuilder H2 window sizes and max_http_version
* add test for H2 window size settings
* cleanup comment
* Apply code review fixes
* Code review fix for awc ClientBuilder
* Remove unnecessary comments on code review
* pin quote version to resolve build issue
* max_http_version to accept http::Version
* revert fix for quote broken build
2020-03-07 11:09:31 +09:00
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