Skip to content

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

@robertbaumann

Description

@robertbaumann

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions