File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
src/BenchmarksApps/TLS/HttpSys Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 35
35
#pragma warning disable CA1416 // Can be launched only on Windows (HttpSys)
36
36
builder . WebHost . UseHttpSys ( options =>
37
37
{
38
- // meaning client can send a certificate, but it can be explicitly requested by server as well (renegotiation)
39
- options . ClientCertificateMethod = ClientCertificateMethod . AllowRenegotation ;
38
+ // meaning client can send a certificate, but it can be explicitly requested by server as well (renegotiation)
39
+ options . ClientCertificateMethod = ClientCertificateMethod . AllowRenegotation ;
40
40
41
- foreach ( var listeningEndpoint in listeningEndpoints . Split ( ";" ) )
42
- {
43
- options . UrlPrefixes . Add ( listeningEndpoints ) ;
44
- Console . WriteLine ( "Added allowed url-prefix: " + listeningEndpoint ) ;
45
- } ;
41
+ foreach ( var listeningEndpoint in listeningEndpoints . Split ( ";" ) )
42
+ {
43
+ options . UrlPrefixes . Add ( listeningEndpoints ) ;
44
+ Console . WriteLine ( "Added allowed url-prefix: " + listeningEndpoint ) ;
45
+ }
46
+ } ) ;
46
47
#pragma warning restore CA1416 // Can be launched only on Windows (HttpSys)
47
48
48
49
var app = builder . Build ( ) ;
You can’t perform that action at this time.
0 commit comments