@@ -193,6 +193,7 @@ namespace Microsoft.AspNetCore.Server.HttpSys
if (!Listener.ValidateRequest(requestContext))
{
// Dispose the request
+ requestContext.ReleasePins();
requestContext.Dispose();
// If either of these is false then a response has already been sent to the client, so we can accept the next request
@@ -128,6 +128,7 @@ namespace Microsoft.AspNetCore.Server.HttpSys.Listener
return requestContext;
}