File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed
src/BenchmarksApps/Antiforgery Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ scenarios:
35
35
load :
36
36
job : wrk
37
37
variables :
38
- path : /generateToken
38
+ path : /auth
39
39
40
40
antiforgery-noop :
41
41
application :
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ scenarios:
57
57
presetHeaders : connectionclose
58
58
connections : 32
59
59
serverScheme : https
60
+ sslProtocols : tls12
60
61
61
62
mTls-handshakes-httpsys :
62
63
application :
@@ -77,6 +78,7 @@ scenarios:
77
78
serverScheme : https
78
79
certPath : https://raw.githubusercontent.com/aspnet/Benchmarks/refs/heads/main/src/BenchmarksApps/TLS/HttpSys/testCert.pfx
79
80
certPwd : testPassword
81
+ sslProtocols : tls12
80
82
81
83
tls-renegotiation-httpsys :
82
84
application :
@@ -95,6 +97,7 @@ scenarios:
95
97
serverScheme : https
96
98
certPath : https://raw.githubusercontent.com/aspnet/Benchmarks/refs/heads/main/src/BenchmarksApps/TLS/HttpSys/testCert.pfx
97
99
certPwd : testPassword
100
+ sslProtocols : tls12
98
101
99
102
# Kestrel
100
103
@@ -108,6 +111,7 @@ scenarios:
108
111
presetHeaders : connectionclose
109
112
connections : 32
110
113
serverScheme : https
114
+ sslProtocols : tls12
111
115
112
116
mTls-handshakes-kestrel :
113
117
application :
@@ -124,6 +128,7 @@ scenarios:
124
128
serverScheme : https
125
129
certPath : https://raw.githubusercontent.com/aspnet/Benchmarks/refs/heads/main/src/BenchmarksApps/TLS/Kestrel/testCert.pfx
126
130
certPwd : testPassword
131
+ sslProtocols : tls12
127
132
128
133
tls-renegotiation-kestrel :
129
134
application :
@@ -140,4 +145,5 @@ scenarios:
140
145
connections : 32
141
146
serverScheme : https
142
147
certPath : https://raw.githubusercontent.com/aspnet/Benchmarks/refs/heads/main/src/BenchmarksApps/TLS/Kestrel/testCert.pfx
143
- certPwd : testPassword
148
+ certPwd : testPassword
149
+ sslProtocols : tls12
Original file line number Diff line number Diff line change 10
10
app . MapGet ( "/" , ( ) => Results . Ok ( "hello world!" ) ) ;
11
11
app . MapGet ( "/noOp" , ( HttpContext ctx , IAntiforgery antiforgery ) => Results . Ok ( ) ) ;
12
12
13
- // GET https://localhost:55471/generateToken
14
- app . MapGet ( "/generateToken" , ( HttpContext ctx , IAntiforgery antiforgery ) =>
15
- {
16
- var token = antiforgery . GetAndStoreTokens ( ctx ) ;
17
- return Results . Ok ( ) ;
18
- } ) ;
19
-
20
13
// GET https://localhost:55471/auth
21
14
app . MapGet ( "/auth" , ( HttpContext ctx , IAntiforgery antiforgery ) =>
22
15
{
You can’t perform that action at this time.
0 commit comments