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 a917b70 commit 9ba21aaCopy full SHA for 9ba21aa
src/Servers/Kestrel/perf/Kestrel.Performance/Http1ConnectionBenchmark.cs
@@ -24,6 +24,9 @@ public class Http1ConnectionBenchmark
24
25
public Http1Connection Connection { get; set; }
26
27
+ [Params(true, false)]
28
+ public bool ReuseHeaders { get; set; }
29
+
30
[GlobalSetup]
31
public void Setup()
32
{
@@ -33,7 +36,7 @@ public void Setup()
33
36
34
37
var serviceContext = new ServiceContext
35
38
- ServerOptions = new KestrelServerOptions(),
39
+ ServerOptions = new KestrelServerOptions() { ReuseRequestHeaders = ReuseHeaders },
40
HttpParser = NullParser<Http1ParsingHandler>.Instance
41
};
42
0 commit comments