aspnetcore/src/Middleware
Martin Costello acabbbc61b
Remove QueuePolicy locks (#23187)
* Use field rather than property

Operate on a field directly, rather than through a property.

* Make field readonly

Make field read-only as its value is never changed.

* Remove lock

Use Interlocked.Decrement() instead of taking a lock.

* Remove lock for increment

This removes the need for the lock in the success case at the cost of an extra  Interlocked.Decrement() call for the failed case.

* Fix typos

Change "availible" to "available".

* Add unit test for full queue

Add a unit test that validates request is not queued if the queue is already full.
2020-06-30 05:11:58 +00:00
..
CORS Two minor perf tweaks in CORS and Localization middleware (#23190) 2020-06-24 07:17:33 -07:00
ConcurrencyLimiter Remove QueuePolicy locks (#23187) 2020-06-30 05:11:58 +00:00
Diagnostics Add missing doc files and cleanup nits (#22931) 2020-06-17 13:04:45 -07:00
Diagnostics.Abstractions Fix tiny typo in ErrorContext summary. (#22190) 2020-05-24 19:41:19 -07:00
Diagnostics.EntityFrameworkCore Add missing doc files and cleanup nits (#22931) 2020-06-17 13:04:45 -07:00
HeaderPropagation Add missing doc files and cleanup nits (#22931) 2020-06-17 13:04:45 -07:00
HealthChecks Add missing doc files and cleanup nits (#22931) 2020-06-17 13:04:45 -07:00
HealthChecks.EntityFrameworkCore Add missing doc files and cleanup nits (#22931) 2020-06-17 13:04:45 -07:00
HostFiltering
…
HttpOverrides
…
HttpsPolicy
…
Localization Two minor perf tweaks in CORS and Localization middleware (#23190) 2020-06-24 07:17:33 -07:00
Localization.Routing
…
MiddlewareAnalysis Add missing doc files and cleanup nits (#22931) 2020-06-17 13:04:45 -07:00
NodeServices Add missing doc files and cleanup nits (#22931) 2020-06-17 13:04:45 -07:00
ResponseCaching Only look-up Cache-Control once (#23329) 2020-06-24 22:48:36 +00:00
ResponseCaching.Abstractions
…
ResponseCompression Fix #19991 Made TestHost fail when Response Flush is called with AllowSynchronossIO being dissabled (#20059) 2020-03-26 09:46:15 -07:00
Rewrite Change default for queryStringDelete (#21586) 2020-06-15 14:46:40 -07:00
Session Also set no-store when we set no-cache in response cache control headers (#22842) 2020-06-11 20:38:54 -07:00
SpaServices Add missing doc files and cleanup nits (#22931) 2020-06-17 13:04:45 -07:00
SpaServices.Extensions SpaProxy: Fix proxying of WebSocket protocol (#23250) 2020-06-23 16:20:00 -07:00
StaticFiles Add a Mime Type for .exe and .dll files. (#21805) 2020-06-05 20:21:31 +00:00
WebSockets [master] Update dependencies from dotnet/arcade dotnet/aspnetcore-tooling (#21630) 2020-05-15 00:17:02 +00:00
perf
…
.vsconfig Add .vsconfig files in root and beside slns 2020-03-31 14:25:44 -07:00
Middleware.sln
…
build.cmd
…
startvs.cmd
…