1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-25 17:02:44 +01:00
Commit Graph

154 Commits

Author SHA1 Message Date
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
Nikolay Kim
a5f7a67b4d clippy warnings 2018-07-06 08:24:44 +06:00
Nikolay Kim
9070d59ea8 do not read head payload 2018-07-06 08:11:36 +06:00
Douman
67e4cad281
Introduce method to set header if it is missing only (#364)
Also let default headers use it.

Closes #320
2018-07-05 19:27:18 +03:00
Nikolay Kim
8058d15624 clippy warnings 2018-07-05 13:16:16 +06:00
Nikolay Kim
6fd686ef98 cleanup warnings 2018-07-04 21:01:27 +06:00
Nikolay Kim
fec6047ddc refactor HttpRequest mutability 2018-07-02 23:35:32 +06:00
Nikolay Kim
c0cdc39ba9 do not store cookies on client response 2018-06-24 22:21:04 +06:00
Nikolay Kim
8e8a68f90b add empty output stream 2018-06-24 22:05:44 +06:00
Nikolay Kim
33260c7b35 split encoding module 2018-06-24 10:42:20 +06:00
Nikolay Kim
40ca9ba9c5 simplify write buffer 2018-06-24 10:30:58 +06:00
Nikolay Kim
45682c04a8 refactor content encoder 2018-06-24 08:54:01 +06:00
Nikolay Kim
348491b18c fix alpn connector 2018-06-23 17:59:45 +06:00
Nikolay Kim
cf38183dcb refactor client connector waiters maintenance 2018-06-23 12:40:21 +06:00
Nikolay Kim
e3dc6f0ca8 refactor h1decoder 2018-06-23 12:28:55 +06:00
Nikolay Kim
fc7238baee refactor read_from_io 2018-06-22 11:30:40 +06:00
Nikolay Kim
edd22bb279 refactor read_from_io 2018-06-22 09:01:20 +06:00
Nikolay Kim
58d1f4a4aa switch to actix master 2018-06-21 13:34:36 +06:00
Nikolay Kim
1be27e17f8 convert timer error to io error 2018-06-21 10:05:20 +06:00
Nikolay Kim
8b0fbb85d1 SendRequest execution fails with the entered unreachable code #329 2018-06-21 09:52:18 +06:00
Nikolay Kim
cafde76361
Merge branch 'master' into remove-use-of-unsafe-from-pipeline-poll 2018-06-19 19:20:25 +06:00
Nikolay Kim
bfb93cae66
Update connector.rs 2018-06-19 19:19:31 +06:00
Konrad Borowski
877e177b60 Remove use of unsafe from Pipeline#poll 2018-06-19 13:42:44 +02:00
Nikolay Kim
5c42b0902f better doc api examples 2018-06-19 12:07:07 +06:00
Nikolay Kim
247e8727cb ClientBody is not needed 2018-06-19 10:15:16 +06:00
Nikolay Kim
362b14c2f7 remove unsafe cell from ws client 2018-06-19 09:36:17 +06:00
Nikolay Kim
70244c29e0 update doc api examples 2018-06-17 04:09:07 +06:00
Ozgur Akkurt
d4d3add17d add ClientRequestBuilder::form() 2018-06-12 19:30:00 +03:00
Nikolay Kim
9dd66dfc22 better name for error 2018-06-10 10:24:34 -07:00
Nikolay Kim
87a822e093 fix deprecated warnings 2018-06-10 10:14:13 -07:00
Nikolay Kim
818d0bc187 new StreamHandler impl 2018-06-09 07:53:46 -07:00
Nikolay Kim
9151d61eda allow to use custom resolver for ClientConnector 2018-06-08 16:33:57 -07:00
François Mockers
ca3fb11f8b add actix-web version in header 2018-06-04 08:15:04 +02:00
François Mockers
86be54df71 add default value for header User-Agent in requests 2018-06-03 15:48:00 +02:00
Pascal Hertleif
890a7e70d6 Add missing API docs
These were written without much knowledge of the actix-web internals!
Please review carefully!
2018-06-02 15:52:50 +02:00
Nikolay Kim
8452c7a044 fix doc api example 2018-06-01 11:22:40 -07:00
Nikolay Kim
3f5a39a5b7 cargo fmt 2018-06-01 09:37:14 -07:00
Nikolay Kim
154cd3c5de better actix mod re-exports 2018-06-01 09:36:16 -07:00
Douman
80965d7a9a
Re-export actix dependency. Closes #260 (#264)
- Re-export actix's prelude into actix namespace
- Removing implicit dependency on root's actix module
2018-05-31 20:43:14 +03:00
Nikolay Kim
77becb9bc0 fix doc string 2018-05-29 18:48:39 -07:00
Nikolay Kim
dde266b9ef fix doc string 2018-05-29 18:31:39 -07:00
Nikolay Kim
a64205e502 refactor TransferEncoding; allow to use client api with threaded tokio runtime 2018-05-29 16:32:39 -07:00
Nikolay Kim
ecd05662c0 use new actix system api 2018-05-29 10:31:37 -07:00
Nikolay Kim
fb582a6bca fix connector 2018-05-27 05:18:37 -07:00
Nikolay Kim
be2ceb7c66 update actix Addr; make ClientConnector thread safe 2018-05-27 05:02:49 -07:00
Nikolay Kim
255cd4917d fix doc test 2018-05-24 22:04:14 -07:00