Ali MJ Al-Nasrawy
ceb91bb31f
flatten
2021-06-27 10:42:51 +03:00
Ali MJ Al-Nasrawy
515e1089b1
remove unnecessary len
...
This is used to strore the number of static chrs after the last capture
group. However, we don't need this to calculate the totalmatched length,
we can inseted use the 0th capture group.
2021-06-27 00:06:40 +03:00
Ali MJ Al-Nasrawy
908583982f
`match_path_checked`: dedup match arms
2021-06-26 21:14:17 +03:00
Ali MJ Al-Nasrawy
a3ad7eb11c
remove duplicate code `match_path*()`
2021-06-26 19:25:17 +03:00
Ali MJ Al-Nasrawy
3205ff93a4
simplify `ResourceDef::resource_path*()`
2021-06-26 15:23:16 +03:00
Rob Ede
605ec25143
prepare macros release 0.2.1
2021-06-08 17:48:30 +01:00
Ibraheem Ahmed
3824493fd3
take custom system path in `actix_rt::main` macro ( #363 )
2021-06-08 17:33:05 +01:00
Rob Ede
3be3e11aa5
change actix-router version to 0.4.0
2021-06-06 18:48:27 +01:00
Rob Ede
6a5ea0342b
prepare router release 0.3.0 ( #362 )
2021-06-06 18:43:22 +01:00
Ali MJ Al-Nasrawy
23b1f63345
router: handle newline char '\n' in url ( #360 )
2021-06-06 03:38:58 +01:00
Ali MJ Al-Nasrawy
3aa037d07d
fix changelog ( #361 )
2021-06-05 19:24:30 +01:00
Ali MJ Al-Nasrawy
cf21df14f2
`Path`: fix unsafe malformed string ( #359 )
2021-06-05 18:29:00 +01:00
Ali MJ Al-Nasrawy
a1bf8662c9
router: don't decode %25 to '%' ( #357 )
2021-06-06 01:34:16 +09:00
Ibraheem Ahmed
6f4d2220fa
store Cow in actix-router Path ( #345 )
2021-06-05 01:46:40 +01:00
Danilo Bargen
54b22f9fce
Docs: Fix signature of Service::call ( #358 )
2021-06-02 21:10:36 +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
Rob Ede
b2e9640952
prepare codec 0.4.0 release ( #346 )
2021-04-21 11:08:43 +01:00
Rob Ede
76338a5822
prepare server release 2.0.0-beta.5
2021-04-20 05:16:32 +01:00
Rob Ede
978e4f25fb
prepare actix-utils release 3.0.0 ( #342 )
2021-04-17 02:00:36 +01:00
Rob Ede
1c4e965366
prepare service release 2.0.0 ( #339 )
2021-04-16 15:18:53 +01:00
fakeshadow
2435520e67
Remove/restart worker test ( #341 )
2021-04-16 14:40:21 +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
20c2da17ed
Fix worker_avail ( #336 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-04-16 03:20:02 +01:00
Rob Ede
fdafc1dd65
amend licences
2021-04-16 02:08:44 +01:00
Rob Ede
7749dfe46a
address msrv todo in router
2021-04-16 02:06:11 +01:00
fakeshadow
aeb81ad3fd
Fix worker are notified to stop with non_graceful shutdown ( #333 )
2021-04-16 00:54:15 +01:00
Rob Ede
47fba25d67
remove pipeline from public api ( #335 )
2021-04-16 00:00:02 +01:00
Rob Ede
7a82288066
docs tweak
2021-04-15 21:58:18 +01:00
Rob Ede
4e6d88d143
improve boxed service docs
2021-04-15 20:43:02 +01:00
Rob Ede
ef206f40fb
update ignored service docs to new traits
2021-04-15 20:13:27 +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
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