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

185 Commits

Author SHA1 Message Date
fakeshadow
8e98d9168c
add test for restart worker thread (#328) 2021-04-15 18:49:43 +01:00
fakeshadow
3c1f57706a
Make ServerWorker drop stop Arbiter it runs on (#334) 2021-04-15 13:31:03 +01:00
fakeshadow
d49ecf7203
Fix bug where backpressure happen too early (#332) 2021-04-14 14:48:05 +01:00
fakeshadow
e0fb67f646
Reduce ServerWorker size (#321) 2021-04-13 01:12:59 +01:00
fakeshadow
ddce2d6d12
Reduce cfg flags in actix_server::socket (#325) 2021-04-10 16:05:50 +01:00
fakeshadow
0a11cf5cba
Separate WorkerHandle to two parts (#323) 2021-04-10 01:03:28 +01:00
Rob Ede
859f45868d
Revert "do no drain backlog on backpressure" (#324)
This reverts commit d4829b046d.
2021-04-09 21:04:41 +01:00
fakeshadow
d4829b046d
do no drain backlog on backpressure (#322) 2021-04-08 23:15:10 +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
995efcf427
Fix bug where paused Accept would register timed out sockets (#312) 2021-04-05 13:38:41 +01:00
fakeshadow
f1573931dd
Remove MAX_CONN (#316) 2021-04-04 23:00:12 +01:00
fakeshadow
3859e91799
Use named type for WorkerState::Restarting and Shutdown (#317) 2021-04-04 21:53:19 +01:00
fakeshadow
8aade720ed
Refactor WorkerState::Shutdown (#310) 2021-04-04 20:34:52 +01:00
fakeshadow
8079c50ddb
Add ServerWorker::restart_service method (#314)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-04-04 13:22:34 +01:00
fakeshadow
05689b86d9
Remove Option wrapper for CounterGuard (#313) 2021-04-04 10:53:06 +01:00
fakeshadow
fd3e5fba02
Refactor actix_server WorkerState::Restarting enum variant. (#306)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-04-03 19:40:12 +01:00
fakeshadow
39d1f282f7
add test for max concurrent connections (#311) 2021-04-03 19:01:00 +01:00
fakeshadow
d8889c63ef
Do not do double check on connection num when entering graceful shutdown (#309) 2021-04-02 12:49:12 +01:00
fakeshadow
fdac52aa11
Refactor Worker::shutdown mehtod (#308) 2021-04-02 12:22:05 +01:00
Rob Ede
6d66cfb06a
prepare utils release 3.0.0-beta.4 2021-04-01 13:57:08 +01:00
Rob Ede
b068ea16f8
prepare server release 2.0.0-beta.4 2021-04-01 09:36:07 +01:00
fakeshadow
2c5c9167a5
Fix bug where timed out socket would register itself when server in b… (#302)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-04-01 08:25:24 +01:00
fakeshadow
ee3a548a85
Refactor Accept::accept_one (#303) 2021-04-01 07:45:49 +01:00
fakeshadow
f21eaa954f
Reduce size of Conn by removing unused addr field (#304) 2021-04-01 06:55:33 +01:00
Rob Ede
8becb0db70
refactor crates for better api stability (#301) 2021-03-30 13:39:10 +01:00
fakeshadow
26a5af70cb
reduce branch in Accept::accept method (#300) 2021-03-29 08:19:37 +01:00
fakeshadow
bb27bac216
Add native tls support for actix_tls::connect module (#295)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-03-27 00:20:17 +00:00
Rob Ede
f9262dbec0
prevent large shutdown timeout from panicking
closes #298
2021-03-26 23:37:01 +00:00
Rob Ede
746cc2ab89
prepare service release 2.0.0-beta.5 2021-03-15 23:09:34 +00:00
Rob Ede
06ddad0051
prepare rt and tls releases (#287) 2021-02-25 11:50:24 +00:00
fakeshadow
fa8ded3a34 bump tokio version for actix-server 2021-02-24 15:54:28 +08:00
Rob Ede
841c611233
doc nits 2021-02-24 01:39:02 +00:00
Rob Ede
5f80d85010
fix server version 2021-02-06 19:34:58 +00:00
Rob Ede
16ba77c4c8
prepare next set of betas (#273) 2021-02-06 19:24:52 +00:00
fakeshadow
ebb9cd055f
use static dispatch on signal handling. reduce allocation (#272) 2021-02-06 03:38:11 +00:00
Rob Ede
a77b70aed2
prepare service 2.0.0-beta.4 release (#269) 2021-02-04 20:44:13 +00:00
fakeshadow
7f0eddd794
add blocking thread customize (#265) 2021-02-04 15:01:51 +00:00
shuo
db3385e865
retry on EINTR in accept loop (#264)
Co-authored-by: lishuo <lishuo.03@bytedance.com>
2021-02-04 10:20:37 +00:00
Rob Ede
4ec358575e
prepare actix-rt v2.0.0 release (#262) 2021-02-03 10:25:31 +00:00
Rob Ede
66bd5bf4a2
prepare macros v0.2.0 release (#261) 2021-02-02 02:07:58 +00:00
Rob Ede
2fa60b07ae
prevent arbiter leaks by waiting for registration 2021-01-31 04:41:28 +00:00
Rob Ede
b75254403a
remove builder and introduce worker handle (#257) 2021-01-31 03:34:07 +00:00
Rob Ede
1b35ff8ee6
express spawn fn as spawn fut (#256) 2021-01-29 15:16:30 +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
fakeshadow
636cef8868
service trait takes shared self reference (#247) 2021-01-23 03:06:22 +00:00
fakeshadow
874e5f2e50
change default name resolver and allow custom resolvers (#248) 2021-01-23 01:33:50 +00:00
Rob Ede
6112a47529
update local deps 2021-01-09 15:19:16 +00:00
Rob Ede
f751cf5acb
use convert err on forward_ready! (#246) 2021-01-09 14:13:16 +00:00