Skip to content

Commit aa7349a

Browse files
committed
log host
1 parent 64d7d5d commit aa7349a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/BenchmarksApps/TLS/HttpSys/Program.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@
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-
}
45-
});
41+
foreach (var listeningEndpoint in listeningEndpoints.Split(";"))
42+
{
43+
options.UrlPrefixes.Add(listeningEndpoints);
44+
Console.WriteLine("Added allowed url-prefix: " + listeningEndpoint);
45+
};
4646
#pragma warning restore CA1416 // Can be launched only on Windows (HttpSys)
4747

4848
var app = builder.Build();

0 commit comments

Comments
 (0)