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

46 Commits

Author SHA1 Message Date
Rob Ede
c6ebbcf21b
clippy run on -tls 2023-04-01 05:24:00 +01:00
Iskandarov Lev
126ed4c2e3
normalize logs capital letter (#463)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-07-22 20:53:06 +01:00
Rob Ede
c5d6174cec
add tracing support 2022-03-08 22:13:55 +00:00
Rob Ede
01d2f18f68
simplify test server (#431) 2021-12-27 18:27:54 +00:00
Rob Ede
9935883905
add file reader example 2021-12-26 22:32:35 +00:00
Ali MJ Al-Nasrawy
4e0dd091f5
Server: run after await (#426)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-12-05 19:22:47 +00:00
Rob Ede
161f239f12
server: panic earlier if neither runtime detected 2021-11-21 23:29:06 +00:00
Rob Ede
ae28ce5377
update mio to 0.8 2021-11-15 18:48:37 +00:00
Rob Ede
38caa8f088
Fix server arbiter support (#417) 2021-11-14 19:45:15 +00:00
fakeshadow
3f49d8ab54
remove usage of mio::net::TcpSocket (#413) 2021-11-07 14:18:23 +00:00
Rob Ede
7d98247cb0
fix server worker name 2021-11-04 23:00:43 +00:00
Rob Ede
5b537c7b10
actix-rt-less (#408) 2021-11-04 20:30:43 +00:00
Rob Ede
581e599209
rename Server => ServerHandler (#407) 2021-11-01 23:36:51 +00:00
fakeshadow
a1d15f2e08
minimal support of System type with io-uring (#395) 2021-10-21 11:04:51 +01:00
fakeshadow
8ad5f58d38
Remove ServerBuilder::configure (#349) 2021-04-27 23:58:02 +01:00
fakeshadow
2435520e67
Remove/restart worker test (#341) 2021-04-16 14:40:21 +01:00
fakeshadow
8e98d9168c
add test for restart worker thread (#328) 2021-04-15 18:49:43 +01:00
fakeshadow
5961eb892e
Fix bug where worker service restart could skip failing services and not being able to restart multiple services (#318) 2021-04-05 20:39:05 +01:00
fakeshadow
39d1f282f7
add test for max concurrent connections (#311) 2021-04-03 19:01:00 +01:00
Rob Ede
8becb0db70
refactor crates for better api stability (#301) 2021-03-30 13:39:10 +01:00
Rob Ede
b75254403a
remove builder and introduce worker handle (#257) 2021-01-31 03:34:07 +00:00
Rob Ede
f751cf5acb
use convert err on forward_ready! (#246) 2021-01-09 14:13:16 +00:00
fakeshadow
b7202db8fd
update actix-server and actix-testing to tokio 1.0 (#239) 2020-12-28 23:44:53 +00:00
fakeshadow
518bf3f6a6
remove RUNNING Q PENDING thread locals from actix-rt (#207) 2020-12-26 23:26:02 +00:00
Yuki Okushi
abbc5f715f
server: Bump up to 1.0.3 2020-05-19 10:23:17 +09:00
Yuki Okushi
8218a098e8
server: Replace net2 crate with socket2 2020-05-19 08:17:44 +09:00
Yuki Okushi
f5b07053fc
actix-server: Minimize futures-* dependencies 2020-03-12 07:13:31 +09:00
Yuki Okushi
043057ecbd Fix import scopes 2020-02-01 23:32:08 +09:00
Yuki Okushi
d5a6c83207 Suppress/fix clippy warnings 2020-01-29 12:05:55 +09:00
Nikolay Kim
1ad0bbfb7f rename fn service helpers 2019-12-08 19:05:05 +06:00
Nikolay Kim
cbdbc05dbd update tokio verion and prep alpha3 release 2019-12-07 09:57:43 +06:00
Nikolay Kim
3a858feaec migrate to tokio 0.2.2 2019-12-05 16:40:24 +06:00
Nikolay Kim
21dcc22e53 refactor server configurations 2019-12-04 21:35:27 +06:00
Nikolay Kim
a08b1eba87 update tests 2019-12-02 11:43:52 +06:00
Nikolay Kim
13049b80ca
Migrate actix-net to std::future (#64)
* Migrate actix-codec, actix-rt, and actix-threadpool to std::future

* update to latest tokio alpha and futures-rs

* 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.

* update futures-rs and tokio

* 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'

* Migrate actix-rt to std::future (#47)

* remove Pin from Service::poll_ready(); simplify combinators api; make code compile

* disable tests

* update travis config

* refactor naming

* drop IntoFuture trait

* 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

* update actix-server

* rename Factor to ServiceFactory

* start server worker in start mehtod

* update actix-utils

* remove IntoTransform trait

* Migrate actix-server::ssl::nativetls to std futures (#61)

* Refactor 'nativetls' module

* Migrate 'actix-server-config' to std futures

- remove "uds" feature
- disable features by default

* Switch NativeTlsAcceptor to use 'tokio-tls' crate

* Bikeshed features names and remove unnecessary dependencies for 'actix-server-config' crate

* update openssl impl

* migrate actix-connect to std::future

* migrate actix-ioframe to std::future

* update version to alpha.1

* fix boxed service

* migrate server rustls support

* migratte openssl and rustls connecttors

* store the thread's handle with arbiter (#62)

* update ssl connect tests

* restore service tests

* update readme
2019-11-14 18:38:24 +06:00
Nikolay Kim
f0776fca94 Use associated type for NewService config 2019-05-12 06:03:50 -07:00
Nikolay Kim
7ff923a58f stop tests threads 2019-03-14 20:52:17 -07:00
Nikolay Kim
9a9b3e9ca9 update server tests 2019-03-11 15:19:28 -07:00
Nikolay Kim
ad50595ece add PartialEq impl for Io 2019-03-11 13:37:30 -07:00
Nikolay Kim
2430c7247b update timing for travis 2019-03-11 12:53:16 -07:00
Nikolay Kim
1bf0f1e1a5 add Debug impl for Io; update examples 2019-03-11 12:46:12 -07:00
Nikolay Kim
9887aef6e8 add delay to test 2019-03-11 12:35:57 -07:00
Nikolay Kim
787255d030 add io parameters 2019-03-11 12:01:55 -07:00
Nikolay Kim
d2b96ff877 add ServerConfig to server services 2019-03-09 07:31:22 -08:00
Nikolay Kim
a4d4770462 remove server config 2019-03-08 22:38:39 -08:00
Nikolay Kim
7db29544f9 add ServerConfig param for server service 2019-03-08 19:43:13 -08:00