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