Commit Graph

528 Commits

Author SHA1 Message Date
Nikolay Kim 0be859d440 start server worker in start mehtod 2019-11-12 11:44:30 +06:00
Nikolay Kim 4c1cefefe6 rename Factor to ServiceFactory 2019-11-12 11:09:19 +06:00
Nikolay Kim 8e882f0c37 update actix-server 2019-11-12 10:53:28 +06:00
Michal Hornický 46382a922a Migrate actix-server to std::future (#50)
Still not finished, this is more WIP, this is an aggregation of several commits, which
can be found in semtexzv/std-future-server-tmp branch
2019-11-12 05:37:04 +06:00
Nikolay Kim ae40042ea7 drop IntoFuture trait 2019-11-11 13:35:35 +06:00
Nikolay Kim 68e00ec18c refactor naming 2019-11-11 11:44:06 +06:00
Nikolay Kim daaae9d2f0 update travis config 2019-11-11 02:48:44 +06:00
Nikolay Kim 5a4ce470f9 disable tests 2019-11-11 02:44:58 +06:00
Nikolay Kim c5e8764508 remove Pin from Service::poll_ready(); simplify combinators api; make code compile 2019-11-11 01:09:05 +06:00
Michal Hornický eba19a2da3 Migrate actix-rt to std::future (#47) 2019-11-10 23:51:19 +06:00
Kai Ren 05ae2585f3 Migrate actix-threadpool to std::future (#59)
* Migrate actix-threadpool to std::future

* Cosmetic refactor

- turn log::error! into log::warn! as it doesn't throw any error
- add Clone and Copy impls for Cancelled making it cheap to operate with
- apply rustfmt

* Bump up crate version to 0.2.0 and pre-fill its changelog

* Disable patching 'actix-threadpool' crate in global workspace as unnecessary

* Revert patching and fix 'actix-rt'
2019-11-10 23:43:02 +06:00
Christian Battaglia 8c09b1e7ae
Merge pull request #58 from actix/std-future-service
std future current work in progress
2019-11-07 18:39:16 -05:00
Christian Battaglia 172b35fae5 update futures-rs and tokio 2019-11-07 18:38:05 -05:00
Michal Hornický 7528e7f1cb Migrate actix-service to std::future,
This is a squash of ~8 commits, since it included a lot of experimentation. To see the commits,
look into the semtexzv/std-future-service-tmp branch.
2019-11-07 18:36:13 -05:00
Christian Battaglia e7631f76f2 update to latest tokio alpha and futures-rs 2019-11-07 17:49:54 -05:00
Christian Battaglia 43c04fc041 Merge remote-tracking branch 'semtexzv/master' into std-future
* semtexzv/master:
  Migrate actix-codec, actix-rt, and actix-threadpool to std::future
2019-11-07 17:48:14 -05:00
Nikolay Kim 2e8c2c7733 Re-register task on every future poll 2019-10-14 17:55:52 +06:00
Nikolay Kim 115e82329f fix arbiter thread panic message 2019-10-14 11:19:08 +06:00
Nikolay Kim 0b0060fe47 update deps 2019-10-14 10:37:48 +06:00
Nikolay Kim 35e32d8e55 prepare actix-testing release 2019-10-14 10:30:27 +06:00
Nikolay Kim 9982a9498d register current task in counters available method. 2019-10-08 15:02:43 +06:00
Nikolay Kim fa72975f34 extra trace logging 2019-10-08 14:46:22 +06:00
Sven-Hendrik Haase fe5de2510d
Merge pull request #56 from actix/fix-52
Add an error message if we receive a non-hostname-based dest
2019-10-04 13:48:20 +02:00
Yuki Okushi e3155957a8
Prepare actix-server release (#55) 2019-10-04 17:36:23 +09:00
Sven-Hendrik Haase f6f9e1fcdb Add an error message if we receive a non-hostname-based dest
This is more helpful than an unwrap and at least points users at the right location.
Upstream issue is https://github.com/briansmith/webpki/issues/54
2019-10-04 07:30:13 +02:00
Yuki Okushi 2667850d60 Prepare actix-server-config release (#54)
* Prepare actix-server-config release

* Bump up actix-server-config to 0.2.0
2019-10-04 06:13:33 +06:00
Yuki Okushi fba2002702
Prepare actix-connect release (#53) 2019-10-04 06:21:59 +09:00
Jerome Gravel-Niquet e733c562d9 Update rustls, tokio-rustls and webpki across the board (#42)
* Update rustls, tokio-rustls and webpki across the board

* bump minimum rust version to 1.37

* updated readme and changelogs to reflect changes and minimum required rust version
2019-10-04 03:32:32 +09:00
Yuki Okushi 8f05986a9f
Use `map()` instead of `and_then()` (#51) 2019-10-03 14:55:44 +09:00
Nikolay Kim aa9bbe2114 prepare actix-ioframe release 2019-09-25 10:47:06 +06:00
Nikolay Kim 4837a901e2 prepare actix-server release 2019-09-25 10:35:15 +06:00
Nikolay Kim a02ff17cb1 remove actix-tower from workspace 2019-09-25 10:11:17 +06:00
Nikolay Kim dbf566928c drop tower intergration 2019-09-25 10:01:08 +06:00
Nikolay Kim ca982b2467 update workspace deps for tests 2019-09-25 10:00:54 +06:00
Nikolay Kim c859d13e3b use actix-testing instead of test server 2019-09-25 09:51:28 +06:00
Nikolay Kim 41e49e8093 update changes 2019-09-25 09:32:33 +06:00
Nikolay Kim 715a770d7a deprecate test server 2019-09-25 09:31:52 +06:00
Nikolay Kim 5469d8c910 prep actix-testing release 2019-09-25 09:26:12 +06:00
Nikolay Kim 8be5f773f4 add actix-testing crate 2019-09-17 16:04:20 +06:00
karlri b686b4c34e Feature uds: Add listen_uds to ServerBuilder (#43)
Allows directly passing an Unix Listener instead of a path. Useful
for example when running as a daemon under systemd with the systemd
crate.
2019-09-16 11:07:46 +06:00
Michal Hornický a844941b9f Migrate actix-codec, actix-rt, and actix-threadpool to std::future 2019-09-14 12:30:18 +02:00
Nikolay Kim 34a7b7f05a add TcpStreamService 2019-09-05 16:34:48 -07:00
Nikolay Kim b1d9b06a87 Use arbiters storage for default async resolver 2019-09-02 15:15:55 -07:00
Nikolay Kim 94e673b50b Add arbiter specific storage 2019-09-02 15:03:03 -07:00
Nikolay Kim 1a644c6bb1 Check service readiness for new_apply_cfg combinator 2019-08-27 05:28:15 +06:00
Yuki Okushi aad013f559
Fix clippy warnings (#40)
Add explicit `dyn`s

Remove let binding

Use +=

Return false

Derive Default for TcpConnector

Squash if/else

Remove unnecessary return keywords

Use is_empty()

Fix clippy attribute

Allow mut_from_ref
2019-08-17 05:15:51 +09:00
Aron Heinecke 7a18d9da26 Add check for minimum rust version (#39) 2019-08-07 17:49:29 -07:00
Aron Heinecke d59b8ce62e Fix invalid minimum version (#38) 2019-08-07 17:48:31 -07:00
Nikolay Kim 3821d511d0 prep actix-threadpool release 2019-08-05 09:54:49 -07:00
Nikolay Kim 62e429cb0c Merge branch 'master' of github.com:actix/actix-net 2019-08-05 09:53:03 -07:00