|
result = await reader.ReadToEndAsync().ConfigureAwait(false); |
When passing a CancellationToken with a timer to avoid waiting > n seconds for long-running scans, the ReadToEndAsync() does not get passed the cancellationToken, resulting in the task not cancelling.
nClam/nClam/ClamClient.cs
Line 96 in 9a99b6a
When passing a CancellationToken with a timer to avoid waiting > n seconds for long-running scans, the ReadToEndAsync() does not get passed the cancellationToken, resulting in the task not cancelling.