1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-28 17:52:40 +01:00
Commit Graph

80 Commits

Author SHA1 Message Date
sapir
59deb4b40d Try to separate HTTP/1 read & write disconnect handling, to fix #511. (#514) 2018-09-27 18:15:02 -07:00
Douman
0dc96658f2
Send response to inform client of error (#515) 2018-09-21 07:24:10 +03:00
Nikolay Kim
d65c72b44d use server keep-alive timer as slow request timer 2018-09-15 09:55:38 -07:00
Nikolay Kim
6464f96f8b Merge branch 'master' of https://github.com/actix/actix-web 2018-08-31 18:56:53 -07:00
Nikolay Kim
a2b170fec9 fmt 2018-08-31 18:56:21 -07:00
Nikolay Kim
0b42cae082 update tests 2018-08-31 18:54:19 -07:00
Nikolay Kim
c313c003a4
Fix typo 2018-08-31 17:45:29 -07:00
Nikolay Kim
2d51831899 handle socket read disconnect 2018-08-31 17:24:13 -07:00
Robert G. Jakabosky
8393d09a0f Fix tests. 2018-08-27 00:31:31 +08:00
Robert G. Jakabosky
c3ae9997fc Fix bug with http1 client disconnects. 2018-08-26 22:21:05 +08:00
Nikolay Kim
e4ce6dfbdf refactor workers management 2018-08-09 11:52:32 -07:00
Nikolay Kim
e34b5c08ba allow to pass extra information from acceptor to application level 2018-08-03 19:24:53 -07:00
Nikolay Kim
f3f1e04853 refactor ssl support 2018-08-03 16:09:46 -07:00
Nikolay Kim
8c89c90c50 add accept backpressure #250 2018-08-02 23:17:10 -07:00
Nikolay Kim
42d3e86941 calculate prefix dynamicly 2018-07-15 16:25:56 +06:00
Nikolay Kim
110605f50b stop actor context on error #311 2018-07-08 09:41:55 +06:00
Nikolay Kim
05a43a855e remove unsafe 2018-07-05 13:00:46 +06:00
Nikolay Kim
80339147b9 call disconnect on write error 2018-07-05 12:50:54 +06:00
Nikolay Kim
5d79114239 optimize Request handling 2018-07-04 22:52:49 +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
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
fc7238baee refactor read_from_io 2018-06-22 11:30:40 +06:00
Nikolay Kim
26f37ec2e3 refactor HttpHandlerTask trait 2018-06-18 05:45:54 +06:00
Nikolay Kim
a5bbc455c0 cleanup mut transform 2018-06-18 04:41:41 +06:00
Nikolay Kim
690169db89 migrate to tokio 2018-05-24 21:03:16 -07:00
Nikolay Kim
68eb2f26c9 Allow to use path without traling slashes for scope registration #241 2018-05-23 13:21:29 -07:00
Nikolay Kim
90968d4333 Drop connection if request's payload is not fulle consumed #236 2018-05-21 18:54:17 -07:00
Nikolay Kim
45e9aaa462 rustfmt 0.7 2018-05-17 12:20:20 -07:00
Nikolay Kim
f3ece74406 better error handling 2018-05-17 10:58:08 -07:00
Nikolay Kim
f82fa08d72 various optimizations 2018-05-15 16:49:03 -07:00
Nikolay Kim
953a0d4e4a add test case for #222 2018-05-15 09:29:59 -07:00
Nikolay Kim
5ea2d68438 h1 decoder blocks on error #222 2018-05-15 07:55:36 -07:00
Nikolay Kim
fa81d97004 more handler tests 2018-05-06 20:05:31 -07:00
Nikolay Kim
c54f045b39 more handler tests 2018-05-06 15:11:36 -07:00
Nikolay Kim
91235ac816 fix reading from socket 2018-04-29 20:34:59 -07:00
Nikolay Kim
368730f5f1 Add route scopes #202 2018-04-29 19:35:50 -07:00
Nikolay Kim
c72d1381a6 clippy warnings 2018-04-29 09:09:08 -07:00
Nikolay Kim
de49796fd1 clippy warnings; fmt 2018-04-28 22:55:47 -07:00
Nikolay Kim
a38c3985f6 refactor http1 parser 2018-04-28 22:20:32 -07:00
Nikolay Kim
f8af3ef7f4 refactor keep-alive 2018-04-22 15:28:04 -07:00
Nikolay Kim
a826d113ee add custom request path quoter #182 2018-04-17 12:55:13 -07:00
Nikolay Kim
113f5ad1a8 add rustfmt config 2018-04-13 16:02:01 -07:00
Nikolay Kim
7be4b1f399 clippy warns 2018-04-04 20:24:09 -07:00
Nikolay Kim
44e3df82f6 simplify http response construction; deprecate httpcodes 2018-03-30 23:07:33 -07:00
Nikolay Kim
145010a2b0 use unreachable instead of panic 2018-03-29 15:55:27 -07:00
Nikolay Kim
68cf32e848 add path and query extractors 2018-03-26 15:58:30 -07:00
Nikolay Kim
a56e5113ee process transfer-encoding before content-length, fix tests on 32bit platform 2018-03-24 09:22:34 -07:00
Nikolay Kim
5a25fd95f5 Fix panic on invalid URL characters #130 2018-03-22 18:08:12 -07:00