Rob Ede
0bc310a656
Rustls v0.21 support ( #480 )
2023-08-26 14:59:51 +01:00
Rob Ede
6ce8307060
remove num_cpus dependency ( #488 )
2023-08-24 00:56:31 +01:00
Rob Ede
8d5d1dbf6f
bump MSRV to 1.65 ( #485 )
2023-07-17 03:05:39 +01:00
Juan Aguilar Santillana
dde38bbe06
remove unnecessary Pin in poll_recv calls ( #475 )
2023-01-02 13:36:46 +00: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
3a3d654cea
use "physical" cpu cores as default worker count
2021-12-08 05:42:54 +00:00
Rob Ede
38caa8f088
Fix server arbiter support ( #417 )
2021-11-14 19:45:15 +00:00
fakeshadow
3658929010
fix io-uring feature for actix-server ( #414 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-11-07 15:43:59 +00:00
fakeshadow
161d1ee94b
fix accept timeout and worker graceful shutdown ( #412 )
2021-11-07 13:00:19 +00:00
Rob Ede
15279eaf3d
sync wait for service factories to be ready
2021-11-04 23:26:56 +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
1c8fcaebbc
tweak server logging
2021-10-22 18:17:26 +01:00
Rob Ede
ca77d8d835
split -server and -tls msrv and raise to 1.52 ( #398 )
2021-10-19 14:53:42 +01:00
Rob Ede
ca435b2575
prepare actix-server release 2.0.0-beta.6
2021-10-11 05:14:34 +01:00
fakeshadow
6fed1c3e7d
add support for io-uring ( #374 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-10-11 02:58:11 +01:00
Rob Ede
a0fe2a9b2e
clippy
2021-07-16 21:46:32 +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
19468feef8
Fix memory ordering of WorkerAvailability ( #340 )
2021-04-16 11:20:08 +01:00
fakeshadow
bd48908792
Return worker index in WakerInterest::WorkerAvailable ( #337 )
2021-04-16 05:59:10 +01:00
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
e0fb67f646
Reduce ServerWorker size ( #321 )
2021-04-13 01:12:59 +01:00
fakeshadow
0a11cf5cba
Separate WorkerHandle to two parts ( #323 )
2021-04-10 01:03:28 +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
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
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
fakeshadow
f21eaa954f
Reduce size of Conn by removing unused addr field ( #304 )
2021-04-01 06:55:33 +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
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
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
fakeshadow
b7202db8fd
update actix-server and actix-testing to tokio 1.0 ( #239 )
2020-12-28 23:44:53 +00:00
fakeshadow
049795662f
remove ServerMessage type. remove one unused InternalServiceFactory impl ( #225 )
2020-12-13 00:46:32 +00:00
Rob Ede
fb0aa02b3c
move and update server+tls examples ( #190 )
2020-09-13 10:12:07 +01:00
Yuki Okushi
abbc5f715f
server: Bump up to 1.0.3
2020-05-19 10:23:17 +09:00
Yuki Okushi
f5b07053fc
actix-server: Minimize futures-*
dependencies
2020-03-12 07:13:31 +09:00
Yuki Okushi
d5a6c83207
Suppress/fix clippy warnings
2020-01-29 12:05:55 +09: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