diff --git a/src/Microsoft.AspNetCore.Server.Kestrel/Infrastructure/HttpComponentFactory.cs b/src/Microsoft.AspNetCore.Server.Kestrel/Infrastructure/HttpComponentFactory.cs index 5b346d73fd..b0be4ad410 100644 --- a/src/Microsoft.AspNetCore.Server.Kestrel/Infrastructure/HttpComponentFactory.cs +++ b/src/Microsoft.AspNetCore.Server.Kestrel/Infrastructure/HttpComponentFactory.cs @@ -76,12 +76,6 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Infrastructure public readonly FrameRequestHeaders RequestHeaders = new FrameRequestHeaders(); public readonly FrameResponseHeaders ResponseHeaders = new FrameResponseHeaders(); - public Headers() - { - RequestHeaders = new FrameRequestHeaders(); - ResponseHeaders = new FrameResponseHeaders(); - } - public void Initialize(DateHeaderValueManager dateValueManager) { ResponseHeaders.SetRawDate(