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
zero-systems
e5b5df1261
Optimize vector fill in builder. ( #89 )
...
* optimize vector fill
2020-01-22 06:35:22 +09:00
Nikolay Kim
1918c8d4f8
rename .run to .start()
2019-12-29 10:07:46 +06:00
Nikolay Kim
119027f822
fmt
2019-12-25 15:10:13 +04:00
Nikolay Kim
9957f28137
prepare actix-testing release
2019-12-11 14:49:26 +06:00
Nikolay Kim
60bfa1bfb1
prepare actix-server release
2019-12-11 14:43:26 +06:00
Nikolay Kim
2e5e69c9ba
Simplify oneshot and mpsc implementations
2019-12-11 11:28:09 +06:00
Nikolay Kim
e315cf2893
prep actix-rt release; update deps
2019-12-11 10:34:50 +06:00
Nikolay Kim
25012d290a
update actix-codec dependencies
2019-12-11 10:23:01 +06:00
Nikolay Kim
d47f1fb730
prepare actix-service release
2019-12-08 19:49:35 +06: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
fa48ddcfa1
fix non unix signals support
2019-12-06 14:06:14 +06:00
Nikolay Kim
b18fbc98d5
move rustls and nativetls acceptor services to actix-tls
2019-12-05 20:52:37 +06:00
Nikolay Kim
3a858feaec
migrate to tokio 0.2.2
2019-12-05 16:40:24 +06:00
Nikolay Kim
6f41b80cb4
optimize service combinators memory layout
2019-12-05 12:37:26 +06:00
Nikolay Kim
21dcc22e53
refactor server configurations
2019-12-04 21:35:27 +06:00
Nikolay Kim
de84663768
fix initial worker service state
2019-12-04 15:52:49 +06:00
Nikolay Kim
c4e2051327
refactor server worker
2019-12-04 15:12:02 +06:00
Nikolay Kim
cbc5da8625
update changes
2019-12-03 14:10:36 +06:00
Aaron Housh
2756bedc3d
Fix for non Unix OS ( #69 )
2019-12-03 10:07:54 +06:00
Nikolay Kim
9f575418c1
clippy warnings
2019-12-02 22:30:09 +06:00
Nikolay Kim
9ed35cca7a
use owned value for service factory config
2019-12-02 21:27:48 +06:00
Nikolay Kim
a08b1eba87
update tests
2019-12-02 11:43:52 +06:00
Nikolay Kim
9fbe6a1f6d
refactor server configuration and tls support
2019-12-02 11:30:27 +06:00
Nikolay Kim
a02064592b
disable rustls
2019-11-27 21:03:26 +06:00
Nikolay Kim
c254bb978c
allow to wait on Server until server stops; restore signal handling
2019-11-26 17:03:52 +06:00
Nikolay Kim
009f8e2e7c
allow to wait server exit
2019-11-26 16:33:45 +06:00
Nikolay Kim
52d03fa18c
use actix deps instead of tokio
2019-11-26 08:26:22 +06:00
Nikolay Kim
5265714f68
prep alpha.1 release
2019-11-21 19:58:55 +06:00
Nikolay Kim
ae4394c0f2
fix uds server support
2019-11-21 00:35:44 +06:00
Nikolay Kim
d3c5518646
fix rustls acceptor
2019-11-19 18:54:36 +06:00
Nikolay Kim
3bf83c1d98
cleanup Unpin constraint; simplify Framed impl
2019-11-19 14:51:40 +06:00
Nikolay Kim
1354946460
remove pin-project; update Unpin consrtaint
2019-11-18 18:28:54 +06:00
Nikolay Kim
7404d82a9b
use concrete types
2019-11-18 14:30:04 +06:00
Yuki Okushi
be7904fd57
Fix code style ( #65 )
...
* Fix clippy warnings
* cargo fmt
* Remove redundant lifetime
2019-11-15 00:28:29 +09: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
Yuki Okushi
e3155957a8
Prepare actix-server release ( #55 )
2019-10-04 17:36:23 +09: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
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
Nikolay Kim
4837a901e2
prepare actix-server release
2019-09-25 10:35:15 +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
Nikolay Kim
311bb14d97
add unix domain sockets support #3
2019-07-18 17:05:40 +06:00
Igor Gnatenko
ca289ddf7f
Include license files into all sub-crates
...
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2019-05-30 20:38:44 +02:00
Nikolay Kim
87bc3dacd9
use u64 for shutdown_timeout
2019-05-18 10:56:41 -07:00
Nikolay Kim
f1d0d5f6f9
prepare actix-server release
2019-05-12 08:03:16 -07:00
Nikolay Kim
5f8599faf1
merge master
2019-05-12 06:06:45 -07:00
Nikolay Kim
f0776fca94
Use associated type for NewService config
2019-05-12 06:03:50 -07:00
Nikolay Kim
49ade171f6
Update CHANGES.md
2019-05-01 23:20:00 -07:00
Harry Stern
b0c37dfc87
Derive debug for Server and ServerCommand
2019-05-02 01:31:04 -04:00
Nikolay Kim
ae27b87641
IoStream trait and impls for TcpStream, SslStream and TlsStream
2019-04-16 08:32:12 -07:00
Nikolay Kim
3add90628f
Fix SIGINT force shutdown
2019-03-30 12:09:02 -07:00
Nikolay Kim
44c2639fd6
prepare actix-server release
2019-03-14 20:55:55 -07:00
Nikolay Kim
9a5705d1b6
merge travis branch
2019-03-14 20:53:56 -07:00
Nikolay Kim
7ff923a58f
stop tests threads
2019-03-14 20:52:17 -07:00
Nikolay Kim
1146d9cf30
fix init order
2019-03-14 20:48:58 -07:00
Nikolay Kim
b7b76c47e5
rename method
2019-03-14 20:23:49 -07:00
Nikolay Kim
d23dc6f6af
Allow to run future before server service initialization
2019-03-14 20:09:34 -07:00
Nikolay Kim
b6f952b036
remove constraint
2019-03-12 16:49:57 -07:00
Nikolay Kim
0fdac38307
add constraint
2019-03-12 16:48:29 -07:00
Nikolay Kim
a3c4637372
prepare actix-server release
2019-03-12 16:40:22 -07:00
Nikolay Kim
21c289d7e4
fix InOrderService::poll_ready() nested service rediness check
2019-03-12 16:03:05 -07:00
Nikolay Kim
39356690b0
use ServerConfig for system configuration
2019-03-12 14:14:21 -07:00
Nikolay Kim
f6f292a678
enforce constraint on OpensslAcceptor
2019-03-12 13:57:28 -07:00
Nikolay Kim
b3366bc1af
service response is not important
2019-03-12 13:55:31 -07:00
Nikolay Kim
9a9b3e9ca9
update server tests
2019-03-11 15:19:28 -07:00
Nikolay Kim
5567fb41d2
add default type parameter
2019-03-11 13:48:55 -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
1f54ae9051
update deps
2019-03-09 14:23:08 -08:00
Nikolay Kim
d2b96ff877
add ServerConfig to server services
2019-03-09 07:31:22 -08:00
Nikolay Kim
2099629fe3
cleanup ssl services
2019-03-08 22:41:30 -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
Nikolay Kim
4850cf41ff
rename module
2019-03-08 16:26:30 -08:00
Nikolay Kim
51bd7d2721
update actix-rt
2019-03-06 10:39:53 -08:00
Nikolay Kim
aa2967c653
fix feature gated code
2019-03-05 07:41:41 -08:00
Nikolay Kim
dfbb77f98d
make service Request type generic
2019-03-05 07:35:26 -08:00
Nikolay Kim
e8a49801eb
revert IntoFuture change
2019-03-04 21:37:06 -08:00
Nikolay Kim
2e18ca805c
use IntoFuture
2019-03-04 20:40:38 -08:00
Nikolay Kim
9bc492cf6c
add SslError
2019-03-04 16:16:39 -08:00
Nikolay Kim
d2a223e69e
update changes
2019-03-04 15:42:25 -08:00
Nikolay Kim
e9657a399a
add maxconnrate
2019-03-04 15:41:16 -08:00
Nikolay Kim
9f25fdf929
rename StreamServiceFactory to ServiceFactory
2019-03-04 14:31:46 -08:00
Nikolay Kim
2e4c84dbb6
prepare actix-server release
2019-03-02 14:42:31 -08:00
Nikolay Kim
862be49e30
add Config argument to NewService
2019-02-22 12:44:37 -08:00
Nikolay Kim
e354c6df92
Drop service response
2019-02-09 21:39:17 -08:00
Nikolay Kim
8d62ac4b2f
prepare actix-server release
2019-02-01 20:03:31 -08:00
Nikolay Kim
d83bf95304
Use associated type instead of generic for Service definition
2019-02-01 19:53:13 -08:00
Nikolay Kim
84bd257b86
update deps
2019-01-26 13:15:17 -08:00
Nikolay Kim
37d28304c9
Fix max concurrent connections handling
2018-12-21 10:38:08 -08:00
Nikolay Kim
e8a1664c15
prepare release
2018-12-12 14:24:46 -08:00
Nikolay Kim
d1bfae7414
fix backpressure for ssl concurrent handshakes
2018-12-12 14:24:24 -08:00
Nikolay Kim
5ca00dc798
rename ServiceConfig::rt to ServiceConfig::apply
2018-12-12 14:16:16 -08:00
Nikolay Kim
fd3e77ea83
fix signals handling on windows
2018-12-11 14:03:06 -08:00
Nikolay Kim
d38eb00793
no readme
2018-12-11 08:36:03 -08:00
Nikolay Kim
331db2eb47
use released version
2018-12-11 08:28:44 -08:00
Nikolay Kim
de66b5c776
fix examples
2018-12-11 08:20:19 -08:00
Nikolay Kim
42ec3454d9
add signals support
2018-12-10 21:06:54 -08:00
Nikolay Kim
e6daca7995
try to parse host first
2018-12-10 18:08:07 -08:00
Nikolay Kim
9577b7bbed
add helper fn
2018-12-09 22:19:26 -08:00
Nikolay Kim
8ad93f4838
move server to separate crate
2018-12-09 22:14:29 -08:00