1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-25 11:32:42 +01:00
Commit Graph

517 Commits

Author SHA1 Message Date
Nikolay Kim
3fe029a8ad remove unneeded code 2018-09-10 10:01:58 -07:00
Nikolay Kim
552d19a0eb add generic server service factory 2018-09-08 14:50:16 -07:00
Nikolay Kim
4264574af1 fix openssl NewService definition 2018-09-08 12:58:08 -07:00
Nikolay Kim
c2eff62efb openssl new service is not failable 2018-09-08 12:52:43 -07:00
Nikolay Kim
bf10f6dfcf simplify openssl acceptor 2018-09-08 10:16:43 -07:00
Nikolay Kim
8b13236d41 refactor connections counter 2018-09-08 09:36:38 -07:00
Nikolay Kim
5f016bd53c export server mod 2018-09-07 23:27:00 -07:00
Nikolay Kim
4e186cc6d2 explicitly use unit for server service error 2018-09-07 14:49:17 -07:00
Nikolay Kim
0fdce01375 remove Display from server service Error 2018-09-07 14:34:31 -07:00
Nikolay Kim
d4808acee1 implement worker availability system 2018-09-07 13:06:51 -07:00
Nikolay Kim
8298da0f4a change InitError type 2018-09-07 11:42:22 -07:00
Nikolay Kim
db1fe14fd2 add service readiness to ServerService 2018-09-07 11:35:25 -07:00
Nikolay Kim
467350c9fc add readiness support for OpensslAcceptor 2018-09-07 10:38:39 -07:00
Nikolay Kim
d917b47868 remove unneeded phantom data 2018-09-06 18:03:01 -07:00
Nikolay Kim
0525da70bf add Clone impl for FromErr combinator 2018-09-05 19:27:52 -07:00
Nikolay Kim
983223a839 add clone impls for combinator services 2018-09-05 13:54:15 -07:00
Nikolay Kim
8540d81dcf stable compat 2018-09-04 12:42:06 -07:00
Nikolay Kim
9456065d7b better error conversion impl for and_then 2018-09-04 12:07:13 -07:00
Nikolay Kim
41eddae266 move into fn service impl 2018-09-04 09:57:47 -07:00
Nikolay Kim
0390ff37d3 Revert "use From/Into instead of custom IntoService and IntoNewService traits"
This reverts commit 9441624827.
2018-09-04 09:49:21 -07:00
Nikolay Kim
dfa08b3bf1 remove uneeded map_request 2018-09-04 09:32:37 -07:00
Nikolay Kim
9441624827 use From/Into instead of custom IntoService and IntoNewService traits 2018-09-04 09:30:52 -07:00
Nikolay Kim
42a49da199 add StreamDispatcher 2018-09-01 10:29:56 -07:00
Nikolay Kim
27af05de9a simplify Apply combinator 2018-08-31 12:51:26 -07:00
Nikolay Kim
c2d73873cc rename Apply combinator 2018-08-30 17:54:59 -07:00
Nikolay Kim
7ff24863ab add apply() combinator 2018-08-30 17:46:11 -07:00
Nikolay Kim
fbd17e43f3 fix ApplyService constraint 2018-08-30 15:12:01 -07:00
Nikolay Kim
eaa9d4b273 allow to change Connector's request type 2018-08-30 10:06:47 -07:00
Nikolay Kim
061a0339ff convert to new service 2018-08-30 09:38:09 -07:00
Nikolay Kim
a928d82895 rename Apply service 2018-08-30 09:26:27 -07:00
Nikolay Kim
e0513e4085 replace partial with more generic Apply 2018-08-30 09:17:17 -07:00
Nikolay Kim
42b0d53c16 change AndThen InitError constrain 2018-08-29 21:31:43 -07:00
Nikolay Kim
9b48e952b8 add map_request combinator 2018-08-29 20:20:33 -07:00
Nikolay Kim
77cf7016b7 add partial combinator 2018-08-29 20:19:30 -07:00
Nikolay Kim
918c764641 use String as default type for Connector 2018-08-29 15:28:16 -07:00
Nikolay Kim
361ffd8d2f refactor Connector service 2018-08-29 15:15:24 -07:00
Nikolay Kim
7ec92f7b1c export ServiceExt trait 2018-08-29 12:26:27 -07:00
Nikolay Kim
eeb4f8c61c add Service combinators 2018-08-29 12:20:35 -07:00
Nikolay Kim
6f607e79db export configurable mod 2018-08-28 22:28:13 -07:00
Nikolay Kim
cb1ea341c3 make new public 2018-08-28 20:32:01 -07:00
Nikolay Kim
f689f6500a export more service types 2018-08-28 20:29:56 -07:00
Nikolay Kim
10d2c67596 better Connector impl 2018-08-28 16:24:36 -07:00
Nikolay Kim
6ec5e958ac add .map service combinator 2018-08-28 10:39:27 -07:00
Nikolay Kim
71d725d250 add Connector helper method 2018-08-27 21:53:20 -07:00
Nikolay Kim
f9b9031af2 add clone impls 2018-08-27 20:32:49 -07:00
Nikolay Kim
ddfe1322a1 use same Request for OpensslConnector service as for connector 2018-08-27 14:29:01 -07:00
Nikolay Kim
c69d675113 Connector::Response returns addr and tcp stream 2018-08-27 14:20:41 -07:00
Nikolay Kim
3dbaef3ec1 move config to generic type 2018-08-25 14:46:05 -07:00
Nikolay Kim
89b8da724b split service mod 2018-08-25 09:02:14 -07:00
Nikolay Kim
0eae4d84b1 fix and and then new service 2018-08-24 13:18:05 -07:00