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

sokol_fetch.h: fix response state when cancelling a request before dispatch (fixes #882) #898

Merged
merged 3 commits into from
Sep 19, 2023

Conversation

floooh
Copy link
Owner

@floooh floooh commented Sep 19, 2023

This also sets the finished, failed and error_code fields in the response when a request has been cancelled before it was dispatched, also some minor code cleanup around cancelling requests, and adding two more related tests.

@floooh floooh closed this Sep 19, 2023
@floooh floooh reopened this Sep 19, 2023
@floooh floooh changed the title sokol_fetch.h: fix response state when cancelling a request for it is dispatched (fixes #882) sokol_fetch.h: fix response state when cancelling a request before dispatch (fixes #882) Sep 19, 2023
@floooh floooh merged commit b803c9a into master Sep 19, 2023
18 checks passed
@floooh floooh deleted the issue882-sfetch_early_cancel branch September 19, 2023 17:04
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.

1 participant