4 references to Timeout
InMemory.FunctionalTests (4)
src\Servers\Kestrel\shared\test\StreamBackedTestConnection.cs (4)
107task = task.TimeoutAfter(Timeout); 119throw new TimeoutException($"Did not receive a complete response within {Timeout}.{Environment.NewLine}{Environment.NewLine}" + 133var count = await _reader.ReadAsync(ch, 0, 128).TimeoutAfter(Timeout).ConfigureAwait(false); 141var bytesTransferred = await _stream.ReadAsync(buffer, 0, 128).ContinueWith(t => t.IsFaulted ? 0 : t.Result).TimeoutAfter(Timeout);