We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If the request body is small, everything works fine. If a file is attached (for example, 15 MB) request hangs
export const action: ActionFunction = async (props) => { throw new Response(null, { status: 400 }); }
If I add req.destroy() somewhere here, the request does not hang, but ends with NS_ERROR_NET_RESET, which is clearly not the desired behavior.
req.destroy()
System: OS: macOS 14.3.1 CPU: (12) arm64 Apple M2 Max Memory: 2.51 GB / 32.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 22.11.0 - /usr/local/bin/node Yarn: 1.22.22 - /usr/local/bin/yarn npm: 11.0.0 - /usr/local/bin/npm Browsers: Firefix Developer Edition 135.0b9 Chrome: 132.0.6834.110 Safari: 17.3.1 npmPackages: @remix-run/css-bundle: ^2.15.2 => 2.15.2 @remix-run/dev: ^2.15.2 => 2.15.2 @remix-run/node: ^2.15.2 => 2.15.2 @remix-run/react: ^2.15.2 => 2.15.2 @remix-run/serve: ^2.15.2 => 2.15.2 vite: ^5.1.8 => 5.4.10
npm
Request aborted with expected http status
The request is waiting for a response from the server
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Reproduction
If the request body is small, everything works fine.
If a file is attached (for example, 15 MB) request hangs
If I add
req.destroy()
somewhere here, the request does not hang, but ends with NS_ERROR_NET_RESET, which is clearly not the desired behavior.System Info
Used Package Manager
npm
Expected Behavior
Request aborted with expected http status
Actual Behavior
The request is waiting for a response from the server
The text was updated successfully, but these errors were encountered: