Skip to content

Commit 64d7d5d

Browse files
committed
set url prefixes
1 parent 8b697b8 commit 64d7d5d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/BenchmarksApps/TLS/HttpSys/Program.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@
3737
{
3838
// meaning client can send a certificate, but it can be explicitly requested by server as well (renegotiation)
3939
options.ClientCertificateMethod = ClientCertificateMethod.AllowRenegotation;
40+
41+
foreach (var listeningEndpoint in listeningEndpoints.Split(";"))
42+
{
43+
options.UrlPrefixes.Add(listeningEndpoints);
44+
}
4045
});
4146
#pragma warning restore CA1416 // Can be launched only on Windows (HttpSys)
4247

0 commit comments

Comments
 (0)