Commit Graph

18 Commits

Author SHA1 Message Date
Rob Ede 786fe7af1f
update mptcp docs 2023-07-17 03:42:23 +01:00
Rob Ede 46871b4d6e
bump MSRV to 1.65 (#485) 2023-07-17 03:10:56 +01:00
Martichou f63de8b36b
add MPTCP socket protocol (optional)
Add the possibility to use the MPTCP protocol at the
socket level for users of ServerBuilder.

MPTCP is now more widely available since Linux Kernel
version >= 5.6. But it still need to be enabled
manually using: `sysctl net.mptcp.enabled=1`.
(of course, MPTCP is only available on Linux)

The new MPTCP struct give the user the option to
determine how we'll handle the case where MPTCP is
not available on the host, either we crash, or we
fallback to regular TCP.

Signed-off-by: Martin Andre <martin.andre@tessares.net>
2023-07-15 22:24:28 +02:00
Rob Ede dc67ba770d
fmt with import grouping 2022-04-10 02:48:53 +01:00
Rob Ede 9935883905
add file reader example 2021-12-26 22:32:35 +00:00
Rob Ede 44e4381879
add some internal server documentation 2021-11-28 00:35:34 +00:00
fakeshadow 3f49d8ab54
remove usage of mio::net::TcpSocket (#413) 2021-11-07 14:18:23 +00:00
fakeshadow 613b2be51f
Fix Display impl of MioListener (#350) 2021-04-27 11:54:18 -07:00
fakeshadow ddce2d6d12
Reduce cfg flags in actix_server::socket (#325) 2021-04-10 16:05:50 +01:00
fakeshadow f21eaa954f
Reduce size of Conn by removing unused addr field (#304) 2021-04-01 06:55:33 +01:00
fakeshadow 26a5af70cb
reduce branch in Accept::accept method (#300) 2021-03-29 08:19:37 +01:00
fakeshadow b7202db8fd
update actix-server and actix-testing to tokio 1.0 (#239) 2020-12-28 23:44:53 +00:00
Nikolay Kim 3a858feaec migrate to tokio 0.2.2 2019-12-05 16:40:24 +06:00
Nikolay Kim 9fbe6a1f6d refactor server configuration and tls support 2019-12-02 11:30:27 +06:00
Nikolay Kim 52d03fa18c use actix deps instead of tokio 2019-11-26 08:26:22 +06:00
Nikolay Kim ae4394c0f2 fix uds server support 2019-11-21 00:35:44 +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 311bb14d97 add unix domain sockets support #3 2019-07-18 17:05:40 +06:00