File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed
src/BenchmarksApps/TLS/scripts Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -69,13 +69,11 @@ scenarios:
69
69
application :
70
70
job : httpSysServer
71
71
load :
72
- job : httpclient
72
+ job : wrk
73
73
variables :
74
- path : /hello-world
75
74
connections : 32
76
75
serverScheme : https
77
- customHeaders :
78
- - " X-Custom: Québec"
76
+ script : https://raw.githubusercontent.com/aspnet/Benchmarks/main/src/BenchmarksApps/TLS/scripts/invalid-header.lua
79
77
80
78
httpsys-hostheader-mismatch :
81
79
application :
@@ -108,13 +106,11 @@ scenarios:
108
106
application :
109
107
job : kestrelServer
110
108
load :
111
- job : httpclient
109
+ job : wrk
112
110
variables :
113
- path : /hello-world
114
111
connections : 32
115
112
serverScheme : https
116
- customHeaders :
117
- - " X-Custom: Québec"
113
+ script : https://raw.githubusercontent.com/aspnet/Benchmarks/main/src/BenchmarksApps/TLS/scripts/invalid-header.lua
118
114
119
115
kestrel-hostheader-mismatch :
120
116
application :
Original file line number Diff line number Diff line change
1
+ -- sends an invalid HTTP header (with space in the name)
2
+ request = function () -- before each request https://github.com/wg/wrk/blob/a211dd5a7050b1f9e8a9870b95513060e72ac4a0/SCRIPTING#L42
3
+ return " GET /hello-world HTTP/1.1\r\n " ..
4
+ " Host: " .. args [1 ] .. " \r\n " ..
5
+ " Invalid Header: value\r\n " ..
6
+ " \r\n "
7
+ end
You can’t perform that action at this time.
0 commit comments