13 writes to CloseTimeout
Microsoft.AspNetCore.Http.Connections.Tests (13)
HttpConnectionDispatcherTests.cs (8)
1378
options.WebSockets.
CloseTimeout
= TimeSpan.FromSeconds(0);
1419
options.WebSockets.
CloseTimeout
= TimeSpan.FromSeconds(1);
1812
options.WebSockets.
CloseTimeout
= TimeSpan.FromSeconds(0);
1951
options.WebSockets.
CloseTimeout
= TimeSpan.FromSeconds(0);
2377
options.WebSockets.
CloseTimeout
= TimeSpan.FromMilliseconds(1);
2452
options.WebSockets.
CloseTimeout
= TimeSpan.FromMilliseconds(1);
2857
options.WebSockets.
CloseTimeout
= TimeSpan.FromSeconds(1);
2887
options.WebSockets.
CloseTimeout
= TimeSpan.FromSeconds(1);
WebSocketsTests.cs (5)
212
CloseTimeout
= TimeSpan.FromSeconds(1)
246
CloseTimeout
= TimeSpan.FromSeconds(1)
281
CloseTimeout
= TimeSpan.FromSeconds(20)
320
CloseTimeout
= TimeSpan.FromSeconds(20)
362
CloseTimeout
= TimeSpan.FromSeconds(20),
2 references to CloseTimeout
Microsoft.AspNetCore.Http.Connections (2)
Internal\Transports\WebSocketsServerTransport.cs (2)
83
var resultTask = await Task.WhenAny(sending, Task.Delay(_options.
CloseTimeout
, delayCts.Token));
111
var resultTask = await Task.WhenAny(receiving, Task.Delay(_options.
CloseTimeout
, delayCts.Token));