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

Increase timeout for checking for empty streams #113

Merged
merged 5 commits into from
Oct 15, 2024

Conversation

lemccomb
Copy link
Contributor

When reading large payload files, the check in Stream.IsNullOrEmpty sometimes times out causing an empty payload error before it can complete the read operation. This change increases the timeout for those checks that would result in a Fail result from 100ms to 10 seconds.

CoseSign1.Tests/StreamExtensionsTests.cs Dismissed Show resolved Hide resolved
CoseSign1.Tests/StreamExtensionsTests.cs Dismissed Show resolved Hide resolved
CoseSign1/Extensions/StreamExtensions.cs Fixed Show fixed Hide fixed
CoseSignTool/CoseCommand.cs Outdated Show resolved Hide resolved
@lemccomb lemccomb merged commit f78a031 into main Oct 15, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants