We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6433126 commit 33c3db5Copy full SHA for 33c3db5
src/Servers/Kestrel/Core/src/Internal/KestrelHttpContextFactory.cs
@@ -44,9 +44,9 @@ protected override HttpContext CreateHttpContext(IFeatureCollection featureColle
44
45
public override void Dispose(HttpContext httpContext)
46
{
47
- if (httpContext is DefaultHttpContext defaultHttpContext)
+ if (httpContext.Features is HttpProtocol protocol)
48
49
- defaultHttpContext.Uninitialize();
+ protocol.HttpContext.Uninitialize();
50
}
51
52
base.Dispose(httpContext);
0 commit comments