Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection reset on "payload too large" (413) response from target server #546

Open
mdmower-csnw opened this issue Aug 14, 2024 · 0 comments

Comments

@mdmower-csnw
Copy link

When a user attempts to upload a file and the target server responds with HTTP status 413 (payload too large) before reading the entire request body, the proxy often causes "connection reset" instead of forwarding the response to the user.

I observed this while proxying an IIS site but was able to create a minimal reproduction using an express server as well. See repo Proxy connection reset on content too big for code and reproduction steps.

I've reproduced this in Chrome and Firefox on Windows.

Expected result:
image

Actual result:
image

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

No branches or pull requests

1 participant