-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Return 413 when request payload is bigger than maxHttpBufferSize
.
#4293
Labels
enhancement
New feature or request
Comments
darrachequesne
added a commit
to socketio/engine.io
that referenced
this issue
Feb 28, 2022
Before this, the connection was closed abrutly with an HTTP 502 response. See also: f8100f9 Related: socketio/socket.io#4293
You are absolutely right! I have updated the HTTP status: socketio/engine.io@e24b27b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With polling transport, if the client sends a request with a payload bigger than
maxHttpBufferSize
, the server returns a response with status 502 Bad Gateway. It should instead return 413 Payload Too Large.The text was updated successfully, but these errors were encountered: