Skip to content

Commit 7fe4595

Browse files
authored
Skip server header in benchmark website (#1050)
1 parent 139040e commit 7fe4595

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

testassets/InteropTestsWebsite/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public static IHostBuilder CreateHostBuilder(string[] args) =>
5353
var http1Port = context.Configuration.GetValue<int>("port_http1", -1);
5454
var useTls = context.Configuration.GetValue<bool>("use_tls", false);
5555

56+
options.AddServerHeader = false;
5657
options.Limits.MinRequestBodyDataRate = null;
5758
options.ListenAnyIP(http2Port, o => ConfigureEndpoint(o, useTls, HttpProtocols.Http2));
5859
if (http1Port != -1)

0 commit comments

Comments
 (0)