HttpMessageHandler is marked as IDisposable, yet in WebAPI they are never disposed.
We should consider disposing as part of disposing the configuration - or on the other hand we might not want to change this for compatibility reasons.
A particular interesting case here is message handlers used by the route (IHttpRoute.Handler).
Comments: Verified. Discussed with Ryan and we agreed that in the case of Selfhost users have to explicitly dispose the configuration themselves(i tried this and in this case i see my handlers getting disposed) and in case of Web Host, we do not want to handle this case specifically.
We should consider disposing as part of disposing the configuration - or on the other hand we might not want to change this for compatibility reasons.
A particular interesting case here is message handlers used by the route (IHttpRoute.Handler).
Comments: Verified. Discussed with Ryan and we agreed that in the case of Selfhost users have to explicitly dispose the configuration themselves(i tried this and in this case i see my handlers getting disposed) and in case of Web Host, we do not want to handle this case specifically.