Commit Graph

81 Commits

Author SHA1 Message Date
Nikolay Kim d026821924 unify service builders 2019-03-09 10:39:06 -08:00
Nikolay Kim ca73f178c9 revert generic service request; add ServerConfig to service factories 2019-03-09 07:37:23 -08:00
Nikolay Kim 3b069e0568 added combined http1/2 service 2019-03-06 22:56:34 -08:00
Nikolay Kim 96477d42cb extend HttpMessage trait, add api to work with requests cookies 2019-03-05 13:16:26 -08:00
Nikolay Kim ce0b172598 update actix-service 2019-03-05 09:30:11 -08:00
Nikolay Kim 3a456ec148 update actix-service dependency 2019-03-04 20:46:33 -08:00
Nikolay Kim a88b3b090d allow to specify service config for h1 service 2019-03-04 15:58:39 -08:00
Nikolay Kim b80ee71785 use new new service api 2019-02-22 14:21:35 -08:00
Nikolay Kim 7f749ac9cc add missing end of line 2019-02-18 22:34:22 -08:00
Nikolay Kim 781f1a3fef do not skip content length is no chunking is selected 2019-02-18 22:20:00 -08:00
Nikolay Kim c8713d045c poll payload again if framed object get flushed during same iteration 2019-02-18 21:41:38 -08:00
Nikolay Kim 842da939dc fix chunked transfer encoding handling 2019-02-18 20:24:50 -08:00
Nikolay Kim 118606262b refactor payload handling 2019-02-13 13:52:11 -08:00
Nikolay Kim a41459bf69 make payload generic 2019-02-12 11:07:42 -08:00
Nikolay Kim e178db7f74 fix test 2019-02-09 21:32:44 -08:00
Nikolay Kim 1af149b9e6 remove Clone constraint from handler service 2019-02-09 20:27:39 -08:00
Nikolay Kim f3ed1b601e Change service response to Into<Response> 2019-02-09 08:44:22 -08:00
Nikolay Kim b0e36fdcf9 simplify Message api 2019-02-07 21:19:10 -08:00
Nikolay Kim 5575ee7d2d use same payload type for h1 and h2 2019-02-07 13:41:50 -08:00
Nikolay Kim cd83553db7 simplify payload api; add missing http error helper functions 2019-02-07 11:37:33 -08:00
Nikolay Kim 55a29d3778 add h2 server support 2019-02-06 11:44:15 -08:00
Nikolay Kim 3269e35722 migrate to actix-service 0.2 2019-02-01 20:18:44 -08:00
Nikolay Kim 3e6bdbd9ee rename trait 2019-01-29 10:34:27 -08:00
Nikolay Kim 4217894d48 cleaup warnings 2019-01-29 10:14:00 -08:00
Nikolay Kim 42277c5c8f update deps 2019-01-26 22:09:26 -08:00
Douman 67df9399df H1 decoder should ignore headers case 2018-12-16 18:43:11 +03:00
Nikolay Kim aaae368ed9 use new actix crates 2018-12-10 18:08:33 -08:00
Nikolay Kim 9f4d48f7a1 update tests 2018-12-06 15:03:01 -08:00
Nikolay Kim e9121025b7 convert to 2018 edition 2018-12-06 14:32:52 -08:00
Nikolay Kim 5003c00efb use new Service and NewService traits 2018-11-30 11:57:57 -08:00
Nikolay Kim 1a322966ff handle response errors 2018-11-21 07:49:24 -08:00
Nikolay Kim ab3e12f2b4 set server response version 2018-11-20 11:23:05 -08:00
Nikolay Kim 186d3d727a add kee-alive tests 2018-11-20 10:55:50 -08:00
Nikolay Kim 6b60c9e230 add debug impl for H1ServiceResult 2018-11-19 16:11:58 -08:00
Nikolay Kim 3901239128 unify requedt/response encoder 2018-11-19 14:57:12 -08:00
Nikolay Kim 7d66430324 move url module to different crate 2018-11-18 20:08:43 -08:00
Nikolay Kim 7d3adaa6a8 replace message flags with ConnectionType 2018-11-18 18:17:38 -08:00
Nikolay Kim adad203314 refactor encoder/decoder impl 2018-11-18 17:52:56 -08:00
Nikolay Kim 8fea1367c7 re-introduce Body type, use Body as default body type for Response 2018-11-18 13:48:42 -08:00
Nikolay Kim 7fed50bcae refactor response body management 2018-11-17 20:21:28 -08:00
Nikolay Kim e73a97884a do not allow to set server response version 2018-11-17 09:03:35 -08:00
Nikolay Kim 3a4b16a6d5 use BodyLength for request and response body 2018-11-16 21:30:37 -08:00
Nikolay Kim aa20e2670d refactor h1 dispatcher 2018-11-16 21:09:33 -08:00
Nikolay Kim 625469f0f4 refactor decoder 2018-11-16 19:28:07 -08:00
Nikolay Kim 3b7bc41418 use RequestHead for Request 2018-11-15 22:34:29 -08:00
Nikolay Kim 03ad9a3105 simplify client decoder 2018-11-14 10:52:40 -08:00
Nikolay Kim 6297fe0d41 refactor client response payload handling 2018-11-14 09:38:16 -08:00
Nikolay Kim 550c5f55b6 add simple http client 2018-11-13 22:59:00 -08:00
Nikolay Kim b25b083866 do not stop on keep-alive timer if sink is not completly flushed 2018-11-08 20:45:48 -08:00
Nikolay Kim dea39030bc properly handle upgrade header if content-length header is set 2018-11-08 20:38:40 -08:00