1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-01-31 07:02:08 +01:00

76 Commits

Author SHA1 Message Date
Rob Ede
3cd5d8b07a
doc: complete ServerBuilder::workers docs 2023-10-29 18:47:38 +00:00
Rob Ede
09548c96b0
doc: fix doc references 2023-10-29 18:45:12 +00:00
Rob Ede
17fd135349
docs: improve docs on ServerBuilder::{bind, workers} 2023-10-29 18:37:29 +00:00
Rob Ede
6ce8307060
remove num_cpus dependency (#488) 2023-08-24 00:56:31 +01:00
Martin André
755b231e00
add MPTCP socket protocol (optional) (#466)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2023-07-17 04:10:36 +01:00
Rob Ede
8d5d1dbf6f
bump MSRV to 1.65 (#485) 2023-07-17 03:05:39 +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
b8a7741524
fix bind_addr 2022-01-28 22:13:10 +00:00
Rob Ede
941f67dec9
s/e/err 2022-01-28 22:10:06 +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
Rob Ede
3a3d654cea
use "physical" cpu cores as default worker count 2021-12-08 05:42:54 +00:00
Rob Ede
8891c2681e
address unused warning 2021-11-21 23:42:51 +00:00
Rob Ede
58a67ade32
improve docs of system_exit 2021-11-15 02:33:13 +00:00
fakeshadow
3f49d8ab54
remove usage of mio::net::TcpSocket (#413) 2021-11-07 14:18:23 +00:00
Rob Ede
5b537c7b10
actix-rt-less (#408) 2021-11-04 20:30:43 +00:00
Rob Ede
81d7295486 clippy 2021-11-01 23:41:28 +00:00
Rob Ede
581e599209
rename Server => ServerHandler (#407) 2021-11-01 23:36:51 +00:00
Rob Ede
1c8fcaebbc
tweak server logging 2021-10-22 18:17:26 +01:00
Rob Ede
ca435b2575
prepare actix-server release 2.0.0-beta.6 2021-10-11 05:14:34 +01:00
Thales
c3d697df97
server: Don't listen for SIGHUP (#389) 2021-10-04 02:48:10 +01:00
fakeshadow
e4d4ae21ee
refactor connection counter (#343)
* Remove restart_worker test

* Remove Slab

* Rework counter

* Make counter limit switch accurate

* Remove backpressure. Add pause state

* make changes for review

* fix doc comment for counter
2021-04-29 23:27:08 +08:00
fakeshadow
8ad5f58d38
Remove ServerBuilder::configure (#349) 2021-04-27 23:58:02 +01:00
fakeshadow
bd48908792
Return worker index in WakerInterest::WorkerAvailable (#337) 2021-04-16 05:59:10 +01:00
fakeshadow
aeb81ad3fd
Fix worker are notified to stop with non_graceful shutdown (#333) 2021-04-16 00:54:15 +01:00
fakeshadow
0a11cf5cba
Separate WorkerHandle to two parts (#323) 2021-04-10 01:03:28 +01:00
fakeshadow
f1573931dd
Remove MAX_CONN (#316) 2021-04-04 23:00:12 +01:00
Rob Ede
f9262dbec0
prevent large shutdown timeout from panicking
closes #298
2021-03-26 23:37:01 +00:00
fakeshadow
7f0eddd794
add blocking thread customize (#265) 2021-02-04 15:01:51 +00:00
Rob Ede
6b86b5efc5
rename arbiter to worker (#254) 2021-01-29 04:08:14 +00:00
Rob Ede
ba39c8436d
remove tokio runners (#253) 2021-01-29 02:21:06 +00:00
Rob Ede
cff9deb729
attribute nits 2021-01-26 09:45:43 +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
Juan Aguilar
02a902068f
Refactor LocalWaker (#224) 2020-12-13 19:26:57 +00:00
Adrian Wechner
fecdfcd8d4
assert workers greater than zero (#167) 2020-08-18 16:44:22 +01:00
Rob Ede
fb098536ee
bump MSRV to 1.42 (#180) 2020-08-17 15:37:57 +01: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
fa25e30427 Remove single import 2020-02-25 18:41:15 +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
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
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