Skip to content

Add configurable nginx client_body_timeout for uploads - #703

Open
philippthun wants to merge 1 commit into
cloudfoundry:developfrom
sap-contributions:add-nginx-upload-client-body-timeout
Open

philippthun wants to merge 1 commit into
cloudfoundry:developfrom
sap-contributions:add-nginx-upload-client-body-timeout

Conversation

@philippthun

Copy link
Copy Markdown
Member

Slow or stalling clients uploading large bits can hit nginx's built-in default client_body_timeout before the upload completes. nginx then aborts the request, which surfaces to clients as a failed upload.

Add cc.nginx_client_body_timeout_for_uploads, rendered into the public upload endpoints only when set. With no value configured, no directive is emitted and nginx's default behavior is unchanged.

This change was developed with AI assistance; all code was reviewed and tested by me.

  • I have viewed signed and have submitted the Contributor License Agreement

  • I have made this pull request to the develop branch

  • I have run CF Acceptance Tests on bosh lite

Slow or stalling clients uploading large bits can hit nginx's
built-in default client_body_timeout before the upload completes.
nginx then aborts the request, which surfaces to clients as a
failed upload.

Add cc.nginx_client_body_timeout_for_uploads, rendered into the
public upload endpoints only when set. With no value configured,
no directive is emitted and nginx's default behavior is unchanged.

This branch has not been deployed

No deployments
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