Skip to content

Commit 65cf5dc

Browse files
committed
fix
1 parent aa7349a commit 65cf5dc

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/BenchmarksApps/TLS/HttpSys/Program.cs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,15 @@
3535
#pragma warning disable CA1416 // Can be launched only on Windows (HttpSys)
3636
builder.WebHost.UseHttpSys(options =>
3737
{
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;
4040

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+
});
4647
#pragma warning restore CA1416 // Can be launched only on Windows (HttpSys)
4748

4849
var app = builder.Build();

0 commit comments

Comments
 (0)