Fxi writing perf test (#1478)
This commit is contained in:
parent
49b328d4c2
commit
3c8ee39f1d
|
|
@ -107,6 +107,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Performance
|
||||||
Output = new MockSocketOutput(),
|
Output = new MockSocketOutput(),
|
||||||
ConnectionControl = Mock.Of<IConnectionControl>()
|
ConnectionControl = Mock.Of<IConnectionControl>()
|
||||||
};
|
};
|
||||||
|
connectionContext.ListenerContext.ServiceContext.HttpParserFactory = f => new Internal.Http.KestrelHttpParser(log: null);
|
||||||
|
|
||||||
var frame = new TestFrame<object>(application: null, context: connectionContext);
|
var frame = new TestFrame<object>(application: null, context: connectionContext);
|
||||||
frame.Reset();
|
frame.Reset();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue