You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.
When sending big requests (files/pictures/videos) through the proxy, Gatekeeper will block the request with an 413 request entity too large error. The limit is per now set to 1mb.
I suggest (without thinking about it really) that we set the limit to infinity, or something really high and let reverse proxies handle request limits. A counter argument is that not everyone uses reverse proxies, but I suggest we implement it when and if its needed. Debugging request limiting is a pain in the. .
Not quite sure I understand this. The Gatekeeper is a reverse proxy for a destination/upstream/backend, so I'm assuming you mean let the upstream handle request limits - which makes sense to me, so we can set a limit one place instead of two. And it also makes sense to let the upstream decide this, instead of having some value in the Gatekeeper, which may or may not work for all the X upstreams the Gatekeeper serves.
"not everyone uses reverse proxies"
Not sure what this means?
Maybe a potential pitfall with unlimited limit is that it allows posting huge payloads to the gatekeeper, filling its memory. Though I don't think this is an issue, as Express uses streaming by default: https://github.com/villadora/express-http-proxy#streaming, as I guess any sane proxy should.
When sending big requests (files/pictures/videos) through the proxy, Gatekeeper will block the request with an 413 request entity too large error. The limit is per now set to 1mb.
I suggest (without thinking about it really) that we set the limit to infinity, or something really high and let reverse proxies handle request limits. A counter argument is that not everyone uses reverse proxies, but I suggest we implement it when and if its needed. Debugging request limiting is a pain in the. .
I ninjamerged a temp fix here: #38
Any thoughts on how we should handle this?
The text was updated successfully, but these errors were encountered: