Skip to content

Conversation

sanjaysingh916
Copy link

@sanjaysingh916 sanjaysingh916 commented Sep 16, 2025

Dip on the data plane availability - 2025-08-24

DOCR-1675

defer buh.Upload.Close()

// Check if the client canceled the request
if r.Context().Err() != nil {

Choose a reason for hiding this comment

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

Hey @sanjaysingh916, imo we should also have this check for all handlers instead of just POST blob requests because when the docker client cancels it can cancel any underlying HTTP request. The best place to do that is in here. Lemme know if that makes sense.

@nayanjd-do
Copy link

@sanjaysingh916 Also, kindly check what nginx returns when client cancels the request (docr. LLMs suggest that it would return a non-standard status code 499. It might be possible that clients receive 499 regardless of what servers return.

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