Skip to content

Force HTTP/1.1 for publish upload to avoid h2 premature close - #1499

Merged
ricardo-devis-agullo merged 1 commit into
masterfrom
fix-http2-upload-issue
Jun 18, 2026
Merged

ricardo-devis-agullo merged 1 commit into
masterfrom
fix-http2-upload-issue

Conversation

@ricardo-devis-agullo

Copy link
Copy Markdown
Collaborator

undici v8 enables HTTP/2 by default when the TLS server negotiates it via ALPN. Some gateways/proxies reset large multipart uploads over h2, surfacing as a "Premature close" error. This change forces HTTP/1.1 for the publish upload request to avoid the issue.

@ricardo-devis-agullo
ricardo-devis-agullo merged commit 8a2da2b into master Jun 18, 2026
3 checks passed
@ricardo-devis-agullo
ricardo-devis-agullo deleted the fix-http2-upload-issue branch June 18, 2026 08:54
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