Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ExecuteClamCommandAsync does not use CancellationToken when waiting for response from clamavd #80

Open
robertbaumann opened this issue Oct 8, 2024 · 0 comments · May be fixed by #81
Open

Comments

@robertbaumann
Copy link

robertbaumann commented Oct 8, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant