justeat / openrasta-hosting-owin

OWIN host for OpenRasta
Other
1 stars 5 forks source link

Too much locking #17

Closed tharris29 closed 2 years ago

tharris29 commented 10 years ago

OWIN is a async product by default but the HOST in the middleware is currently a Singleton. Need to new up a new Host for each request but without having to resolve all dependencies each time.

Main cause of issue is OpenRasta.Owin.OpenRastaMiddleware.TryInitializeHosting HostManager _hostManager