Skip to content

refactor(internal/gensupport/resumable): simplify transferChunk using…#3456

Open
12ya wants to merge 1 commit intogoogleapis:mainfrom
12ya:patch6
Open

refactor(internal/gensupport/resumable): simplify transferChunk using…#3456
12ya wants to merge 1 commit intogoogleapis:mainfrom
12ya:patch6

Conversation

@12ya
Copy link
Copy Markdown

@12ya 12ya commented Jan 22, 2026

… context.WithTimeout

Refactors transferChunk to use context.WithTimeout instead of manual goroutine and timer logic for enforcing ChunkTransferTimeout. This streamlines the code and leverages built-in context cancellation for timeout management.

  • fix context leak

… context.WithTimeout

Refactors transferChunk to use context.WithTimeout instead of manual goroutine and timer logic for enforcing ChunkTransferTimeout. This streamlines the code and leverages built-in context cancellation for timeout management.

+ fix context leak
@12ya 12ya requested a review from a team January 22, 2026 17:42
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