use iisintegration
This commit is contained in:
parent
9ee0242717
commit
f292383090
|
|
@ -28,6 +28,7 @@ namespace ANCMStressTestApp
|
||||||
factory.AddConsole();
|
factory.AddConsole();
|
||||||
})
|
})
|
||||||
.UseKestrel()
|
.UseKestrel()
|
||||||
|
.UseIISIntegration()
|
||||||
.UseStartup<Startup>()
|
.UseStartup<Startup>()
|
||||||
.Build();
|
.Build();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -188,7 +188,7 @@ namespace ANCMStressTestApp
|
||||||
while (!result.CloseStatus.HasValue && !token.IsCancellationRequested && !closeFromServer)
|
while (!result.CloseStatus.HasValue && !token.IsCancellationRequested && !closeFromServer)
|
||||||
{
|
{
|
||||||
if (result.Count == closeFromServerLength &&
|
if (result.Count == closeFromServerLength &&
|
||||||
System.Text.Encoding.ASCII.GetString(buffer).Substring(0, result.Count) == closeFromServerCmd)
|
Encoding.ASCII.GetString(buffer).Substring(0, result.Count) == closeFromServerCmd)
|
||||||
{
|
{
|
||||||
// The client sent "CloseFromServer" text message to request the server to close (a test scenario).
|
// The client sent "CloseFromServer" text message to request the server to close (a test scenario).
|
||||||
closeFromServer = true;
|
closeFromServer = true;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue