Commit Graph

199 Commits

Author SHA1 Message Date
rishflab 3431fff4d7 Fixed example in client documentation. This closes #665. 2019-01-14 07:44:30 +03:00
Douman 46db09428c Prepare release 0.7.16 2018-12-11 21:04:05 +03:00
Douman 0745a1a9f8 Remove usage of upcoming keyword async
AsyncResult::async is replaced with AsyncResult::future
2018-12-05 18:23:04 +03:00
Douman 9aab382ea8 Allow user to provide addr to custom resolver
We basically swaps Addr with Recipient to enable user to use custom resolver
2018-11-23 15:36:12 +03:00
Nikolay Kim cd9901c928 prepare release 2018-11-14 16:24:01 -08:00
Stanislav Tkach 3b536ee96c Use old clippy attributes syntax (#562) 2018-11-01 11:14:48 +03:00
jeizsm 32145cf6c3 fix after update tokio-rustls (#542) 2018-10-11 11:05:07 +03:00
Nikolay Kim ae5c4dfb78 refactor http channels list; rename WorkerSettings 2018-10-02 15:25:32 -07:00
Nikolay Kim f007860a16 cleanup warnings 2018-10-01 22:48:11 -07:00
Nikolay Kim c674ea9126 add StreamConfiguration service 2018-10-01 22:23:02 -07:00
Nikolay Kim 127af92541 clippy warnings 2018-10-01 21:16:56 -07:00
Nikolay Kim 2217a152cb expose app error by http service 2018-10-01 15:19:49 -07:00
Nikolay Kim 5966ee6192 add HttpServer::register() function, allows to register services in actix net server 2018-09-28 16:03:53 -07:00
Nikolay Kim 4aac3d6a92 refactor keep-alive timer 2018-09-28 15:04:59 -07:00
Nikolay Kim e95babf8d3 log acctor init errors 2018-09-28 12:37:20 -07:00
Nikolay Kim f2d42e5e77 refactor acceptor error handling 2018-09-28 11:50:47 -07:00
Nikolay Kim 0f1c80ccc6 deprecate start_incoming 2018-09-28 08:45:49 -07:00
Nikolay Kim 4b59ae2476 fix ssl config for client connector 2018-09-27 22:15:38 -07:00
Maciej Piechotka 003b05b095 Don't ignore errors in std::fmt::Debug implementations (#506) 2018-09-11 14:57:55 +03:00
Nikolay Kim 002bb24b26 unhide SessionBackend and SessionImpl traits and cleanup warnings 2018-09-07 20:46:43 -07:00
Nikolay Kim f0f67072ae Read client response until eof if connection header set to close #464 2018-09-03 21:35:59 -07:00
Markus Unterwaditzer 3439f55288 doc: Add example for using custom nativetls connector (#497) 2018-09-01 18:13:52 +03:00
Nikolay Kim a2b170fec9 fmt 2018-08-31 18:56:21 -07:00
Robert G. Jakabosky 66881d7dd1 If buffer is empty, read more data before calling parser. 2018-09-01 02:25:05 +08:00
Robert G. Jakabosky a42a8a2321 Add some comments to clarify logic. 2018-09-01 02:15:36 +08:00
Robert G. Jakabosky 2341656173 Simplify buffer reading logic. Remove duplicate code. 2018-09-01 01:41:38 +08:00
Robert Gabriel Jakabosky af6caa92c8
Merge branch 'master' into master 2018-09-01 00:17:34 +08:00
Robert G. Jakabosky 3ccbce6bc8 Fix issue with 'Connection: close' in ClientRequest 2018-09-01 00:08:53 +08:00
Markus Unterwaditzer 4bab50c861 Add ability to pass a custom TlsConnector (#491) 2018-08-29 20:53:31 +02:00
Robert G. Jakabosky c3ae9997fc Fix bug with http1 client disconnects. 2018-08-26 22:21:05 +08:00
Nikolay Kim 8dfc34e785 fix tokio-tls IoStream impl 2018-08-23 10:27:32 -07:00
Nikolay Kim 810995ade0 fix tokio-tls dependency #480 2018-08-23 10:10:13 -07:00
Nikolay Kim 1716380f08 clippy fmt 2018-08-23 09:48:01 -07:00
Kornel bdc9a8bb07 Optionally support tokio-uds's UnixStream as IoStream (#472) 2018-08-17 19:04:15 +03:00
Douman 9c80d3aa77
Write non-80 port in HOST of client's request (#451) 2018-08-07 10:01:29 +03:00
Jan Michael Auer e61ef7dee4 Use zlib instead of deflate for content encoding (#442) 2018-08-03 14:56:26 +02:00
Nikolay Kim 0da3fdcb09 do not use Arc for rustls config 2018-08-01 10:59:00 -07:00
Nikolay Kim 4dba531bf9 do not override HOST header for client request #428 2018-07-31 08:51:24 -07:00
Nikolay Kim 2072c933ba handle error during request creation 2018-07-30 15:04:52 -07:00
Marat Safin 196da6d570 add rustls 2018-07-30 08:21:12 +03:00
Nikolay Kim b878613e10 fix warning 2018-07-24 15:49:46 -07:00
Nikolay Kim 85b275bb2b fix warnings 2018-07-24 15:09:30 -07:00
Nikolay Kim 2043bb5ece do not reallocate waiters 2018-07-20 10:20:41 -07:00
Nikolay Kim 85672d1379 fix client connector wait queue 2018-07-18 01:23:56 +06:00
Nikolay Kim 373f2e5028 add release stat 2018-07-17 17:38:16 +06:00
Nikolay Kim d43902ee7c proper handling for client connection release 2018-07-17 17:23:03 +06:00
Nikolay Kim 1af5aa3a3e calculate client request timeout 2018-07-17 02:30:21 +06:00
Nikolay Kim bccd7c7671 add wait queue size stat to client connector 2018-07-17 01:57:57 +06:00
kingoflolz d9988f3ab6
fix missing content length
fix missing content length when no compression is used
2018-07-11 21:21:32 +10:00
Nikolay Kim cfa470db50 close conneciton for head requests 2018-07-06 09:21:24 +06:00