Skip to content

Add: ResponseHeaderTimeout to image pull HTTP transport#13164

Merged
mikebrow merged 1 commit intocontainerd:mainfrom
Mujib-Ahasan:add-ResponseHeaderTimeout
Apr 20, 2026
Merged

Add: ResponseHeaderTimeout to image pull HTTP transport#13164
mikebrow merged 1 commit intocontainerd:mainfrom
Mujib-Ahasan:add-ResponseHeaderTimeout

Conversation

@Mujib-Ahasan
Copy link
Copy Markdown
Contributor

Description

Current cri image pull transport sets dial and tls handshake timeouts, but not a response header timeout. This can leave pulls waiting for minutes when a registry connection is established but the registry server became temporarily unresponsive before sending response. This change adds ResponseHeaderTimeout to DefaultHTTPTransport()so that this allows the client to fail fast and retry sooner, instead of waiting minutes on a stalled connection.

fixes: #13006

Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>
@Mujib-Ahasan
Copy link
Copy Markdown
Contributor Author

@AkihiroSuda, @mikebrow just a gentle ping on this PR when you get some time. Would really appreciate your review.

@github-project-automation github-project-automation Bot moved this from Needs Triage to Review In Progress in Pull Request Review Apr 18, 2026
Copy link
Copy Markdown
Member

@mikebrow mikebrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mikebrow mikebrow added this pull request to the merge queue Apr 20, 2026
Merged via the queue into containerd:main with commit 5fa03e6 Apr 20, 2026
54 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

# Feature Request: Add ResponseHeaderTimeout and Retry Logic to containerd Image Pull HTTP Transport

5 participants