Skip to content

FileFetcher respects cancelled context#908

Merged
mhutchinson merged 2 commits intotransparency-dev:mainfrom
mhutchinson:contextAware
Mar 18, 2026
Merged

FileFetcher respects cancelled context#908
mhutchinson merged 2 commits intotransparency-dev:mainfrom
mhutchinson:contextAware

Conversation

@mhutchinson
Copy link
Contributor

This makes the client.EntryBundles method respect context cancellation with a fileFetcher, which is consistent with the httpFetcher. I was using this in a file-based log reader and Ctrl^C wasn't terminating. This should fix it.

@mhutchinson mhutchinson requested a review from a team as a code owner March 18, 2026 11:43
This makes the client.EntryBundles method respect context cancellation with a fileFetcher, which is consistent with the httpFetcher. I was using this in a file-based log reader and Ctrl^C wasn't terminating. This should fix it.
@mhutchinson mhutchinson merged commit a1e0ccb into transparency-dev:main Mar 18, 2026
15 checks passed
@mhutchinson mhutchinson deleted the contextAware branch March 18, 2026 14:56
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.

2 participants