From 3c8ee39f1de441daf24c63943dc335af92bdf215 Mon Sep 17 00:00:00 2001 From: Ben Adams Date: Fri, 10 Mar 2017 20:04:28 +0000 Subject: [PATCH] Fxi writing perf test (#1478) --- test/Microsoft.AspNetCore.Server.Kestrel.Performance/Writing.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/test/Microsoft.AspNetCore.Server.Kestrel.Performance/Writing.cs b/test/Microsoft.AspNetCore.Server.Kestrel.Performance/Writing.cs index 04c8e414f9..9e641715e6 100644 --- a/test/Microsoft.AspNetCore.Server.Kestrel.Performance/Writing.cs +++ b/test/Microsoft.AspNetCore.Server.Kestrel.Performance/Writing.cs @@ -107,6 +107,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Performance Output = new MockSocketOutput(), ConnectionControl = Mock.Of() }; + connectionContext.ListenerContext.ServiceContext.HttpParserFactory = f => new Internal.Http.KestrelHttpParser(log: null); var frame = new TestFrame(application: null, context: connectionContext); frame.Reset();