1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-12-02 23:12:24 +01:00
Commit Graph

166 Commits

Author SHA1 Message Date
Juan Aguilar Santillana
dde38bbe06
remove unnecessary Pin in poll_recv calls (#475) 2023-01-02 13:36:46 +00:00
Rob Ede
66756bc448
update all crates msrv to 1.57 (#464) 2022-07-23 00:51:12 +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
Guillaume Desmottes
635aebe887
actix-server: fix UNIX signal handling documentation (#455) 2022-05-03 13:37:18 +01:00
Rob Ede
dc67ba770d
fmt with import grouping 2022-04-10 02:48:53 +01:00
Rob Ede
c5d6174cec
add tracing support 2022-03-08 22:13:55 +00:00
fakeshadow
7804ed12eb
block and wait for accept thread to exit. (#443)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-03-02 03:52:12 +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
90f205a465
standardize crate level lints 2021-12-08 06:09:46 +00:00
Rob Ede
3a3d654cea
use "physical" cpu cores as default worker count 2021-12-08 05:42:54 +00:00
Ali MJ Al-Nasrawy
4e0dd091f5
Server: run after await (#426)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-12-05 19:22:47 +00:00
Ali MJ Al-Nasrawy
8c4ec34cd4
Server: hide internal structure (#424) 2021-12-05 16:44:06 +00:00
Rob Ede
44e4381879
add some internal server documentation 2021-11-28 00:35:34 +00:00
Rob Ede
8891c2681e
address unused warning 2021-11-21 23:42:51 +00:00
Rob Ede
161f239f12
server: panic earlier if neither runtime detected 2021-11-21 23:29:06 +00:00
Rob Ede
ae28ce5377
update mio to 0.8 2021-11-15 18:48:37 +00:00
Rob Ede
58a67ade32
improve docs of system_exit 2021-11-15 02:33:13 +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
3f49d8ab54
remove usage of mio::net::TcpSocket (#413) 2021-11-07 14:18:23 +00:00
fakeshadow
161d1ee94b
fix accept timeout and worker graceful shutdown (#412) 2021-11-07 13:00:19 +00:00
Rob Ede
81ba7cafaa
fix server non-unix signal impl send (#410) 2021-11-05 02:16:13 +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
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
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
Thales
c3d697df97
server: Don't listen for SIGHUP (#389) 2021-10-04 02:48:10 +01:00
Rob Ede
a0fe2a9b2e
clippy 2021-07-16 21:46:32 +01:00
fakeshadow
983abec77d
Fix interrupt handling. Fix double server pause/resume (#353) 2021-04-30 13:42:25 +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
613b2be51f
Fix Display impl of MioListener (#350) 2021-04-27 11:54:18 -07: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
20c2da17ed
Fix worker_avail (#336)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-04-16 03:20:02 +01:00
fakeshadow
aeb81ad3fd
Fix worker are notified to stop with non_graceful shutdown (#333) 2021-04-16 00:54:15 +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
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