Skip to content

Commit 34fef3c

Browse files
committed
http scheme for server
1 parent e2561a1 commit 34fef3c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

scenarios/rejection.benchmarks.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
project: src/BenchmarksApps/TLS/HttpSys/HttpSys.csproj
2121
readyStateText: Application started.
2222
variables:
23+
serverScheme: https
2324
# behavioral settings
2425
mTLS: false # enables settings on http.sys to negotiate client cert on connections
2526
tlsRenegotiation: false # enables client cert validation
@@ -30,7 +31,7 @@ jobs:
3031
httpSysLogs: false
3132
statsEnabled: false
3233
logRequestDetails: false
33-
arguments: "--urls https://{{serverAddress}}:{{serverPort}} --mTLS {{mTLS}} --certValidationConsoleEnabled {{certValidationConsoleEnabled}} --statsEnabled {{statsEnabled}} --tlsRenegotiation {{tlsRenegotiation}} --httpSysLogs {{httpSysLogs}} --logRequestDetails {{logRequestDetails}} --httpSysUrlPrefix {{httpSysUrlPrefix}}"
34+
arguments: "--urls {{serverScheme}}://{{serverAddress}}:{{serverPort}} --mTLS {{mTLS}} --certValidationConsoleEnabled {{certValidationConsoleEnabled}} --statsEnabled {{statsEnabled}} --tlsRenegotiation {{tlsRenegotiation}} --httpSysLogs {{httpSysLogs}} --logRequestDetails {{logRequestDetails}} --httpSysUrlPrefix {{httpSysUrlPrefix}}"
3435

3536
kestrelServer:
3637
source:
@@ -39,6 +40,7 @@ jobs:
3940
project: src/BenchmarksApps/TLS/Kestrel/Kestrel.csproj
4041
readyStateText: Application started.
4142
variables:
43+
serverScheme: https
4244
# behavioral settings
4345
mTLS: false
4446
tlsRenegotiation: false
@@ -49,7 +51,7 @@ jobs:
4951
certValidationConsoleEnabled: false
5052
statsEnabled: false
5153
logRequestDetails: false
52-
arguments: "--urls https://{{serverAddress}}:{{serverPort}} --mTLS {{mTLS}} --certValidationConsoleEnabled {{certValidationConsoleEnabled}} --tlsProtocols {{tlsProtocols}} --statsEnabled {{statsEnabled}} --tlsRenegotiation {{tlsRenegotiation}} --logRequestDetails {{logRequestDetails}} --enableHostHeaderValidation {{enableHostHeaderValidation}}"
54+
arguments: "--urls {{serverScheme}}://{{serverAddress}}:{{serverPort}} --mTLS {{mTLS}} --certValidationConsoleEnabled {{certValidationConsoleEnabled}} --tlsProtocols {{tlsProtocols}} --statsEnabled {{statsEnabled}} --tlsRenegotiation {{tlsRenegotiation}} --logRequestDetails {{logRequestDetails}} --enableHostHeaderValidation {{enableHostHeaderValidation}}"
5355

5456
scenarios:
5557

@@ -152,6 +154,7 @@ scenarios:
152154
job: kestrelServer
153155
variables:
154156
enableHostHeaderValidation: true
157+
serverScheme: http
155158
httpOnly: true
156159
load:
157160
job: wrk

0 commit comments

Comments
 (0)