File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
src/BenchmarksApps/TLS/Kestrel Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 6
6
- https://raw.githubusercontent.com/dotnet/crank/main/src/Microsoft.Crank.Jobs.Bombardier/bombardier.yml
7
7
- https://raw.githubusercontent.com/dotnet/crank/main/src/Microsoft.Crank.Jobs.HttpClient/httpclient.yml
8
8
- https://raw.githubusercontent.com/dotnet/crank/main/src/Microsoft.Crank.Jobs.Wrk/wrk.yml
9
+ - https://raw.githubusercontent.com/dotnet/crank/main/src/Microsoft.Crank.Jobs.Wrk2/wrk2.yml
9
10
- https://github.com/aspnet/Benchmarks/blob/main/scenarios/aspnet.profiles.yml?raw=true
10
11
11
12
variables :
@@ -83,7 +84,7 @@ scenarios:
83
84
variables :
84
85
httpSysUrlPrefix : " https://testserver:{{serverPort}}"
85
86
load :
86
- job : wrk
87
+ job : wrk2
87
88
variables :
88
89
path : /hello-world
89
90
connections : 32
@@ -122,7 +123,7 @@ scenarios:
122
123
variables :
123
124
enableHostHeaderValidation : true
124
125
load :
125
- job : wrk
126
+ job : wrk2
126
127
variables :
127
128
path : /hello-world
128
129
connections : 32
Original file line number Diff line number Diff line change 52
52
53
53
Console . WriteLine ( "Configured HostFilteringOptions. Hosts: " + string . Join ( ';' , allowedHosts ) ) ;
54
54
options . AllowedHosts = allowedHosts . ToArray ( ) ;
55
- options . IncludeFailureMessage = true ; // Suppress the failure message in response body
55
+ options . IncludeFailureMessage = true ; // Suppresses the failure message in response body. It should be `true` to match http.sys behavior.
56
56
options . AllowEmptyHosts = true ;
57
57
} ) ;
58
58
}
You can’t perform that action at this time.
0 commit comments