Commit Graph

3040 Commits

Author SHA1 Message Date
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 7ef6eab9af
Merge pull request #3 from alishir/examples
hello-world example added.
2018-11-22 19:24:50 -10:00
Ali Shirvani 41d68c87d9 hello-world example added. 2018-11-23 07:42:40 +03:30
Nikolay Kim 1a322966ff handle response errors 2018-11-21 07:49:24 -08:00
Douman 389cb13cd6 Export PathConfig and QueryConfig
Closes #597
2018-11-20 23:06:38 +03: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
Huston Bokinsky 6a93178479 Complete error helper functions. 2018-11-20 08:07:46 +03:00
Nikolay Kim e1fc6dea84 restore execute method 2018-11-19 16:39:40 -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 1ca6b44bae add TestServer 2018-11-18 21:48:20 -08:00
Nikolay Kim 18fcddfd63 remove backtrace dep 2018-11-18 20:25:59 -08:00
Nikolay Kim 7d66430324 move url module to different crate 2018-11-18 20:08:43 -08:00
Nikolay Kim 22d4523c93 update actix-net 2018-11-18 18:31:44 -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 f0bd4d868e simplify server response type 2018-11-17 08:56:40 -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 6d9733cdf7 define generic client Connection trait 2018-11-15 11:10:23 -08:00
Nikolay Kim acd42f92d8 remove debug print 2018-11-14 19:08:52 -08:00
Nikolay Kim 6e7560e287 SendResponse service sends body as well 2018-11-14 18:57:58 -08:00
Nikolay Kim cd9901c928 prepare release 2018-11-14 16:24:01 -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 537144f0b9 add http client connector service 2018-11-11 23:12:54 -08:00
Nikolay Kim 1ef0eed0bd do not stop on keep-alive timer if sink is not completly flushed 2018-11-08 20:46:13 -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
Nikolay Kim 61b1030882 Fix websockets connection drop if request contains content-length header #567 2018-11-08 20:35:47 -08:00
Nikolay Kim 7065c540e1 set nodelay on socket #560 2018-11-08 16:29:43 -08:00
Nikolay Kim aed3933ae8 Merge branch 'master' of github.com:actix/actix-web 2018-11-08 16:15:45 -08:00
Nikolay Kim 5b7740dee3 hide ChunkedReadFile 2018-11-08 16:12:16 -08:00
imaperson 1a0bf32ec7 Fix unnecessary owned string and change htmlescape in favor of askama_escape (#584) 2018-11-08 16:08:06 -08:00
Nikolay Kim 9ab586e24e update actix-net dep 2018-11-08 16:06:23 -08:00
Nikolay Kim 6a1d560f22 fix keep-alive timer reset 2018-11-08 09:30:53 -08:00
Nikolay Kim 62f1c90c8d update base64 dep 2018-11-07 21:18:40 -08:00
Nikolay Kim 2677d325a7 fix keep-alive timer reset 2018-11-07 21:09:33 -08:00
Julian Tescher 8e354021d4 Add SameSite option to identity middleware cookie (#581) 2018-11-07 23:24:06 +03:00
Nikolay Kim f1587243c2 fix body decoding 2018-11-05 19:32:03 -08:00
Stanislav Tkach 3b536ee96c Use old clippy attributes syntax (#562) 2018-11-01 11:14:48 +03:00
Nikolay Kim da82e24954 render error message as body 2018-10-30 11:55:17 -07:00
Nikolay Kim 79bcbb8a10 use error message 2018-10-30 11:50:30 -07:00