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
Harden Node adapter HTTP server defaults and request body handling (withastro#15759)
* Harden Node adapter HTTP server defaults and add global body size limit
* Make bodySizeLimit a user-configurable option in the Node adapter
* Update changeset: bump @astrojs/node to minor for new bodySizeLimit option
* Update .changeset/harden-node-server-defaults.md
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
* Remove timeout defaults
* Remove timeout hardening tests
---------
Co-authored-by: astro-actions[bot] <houston@astro.build>
Co-authored-by: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
Adds a new `bodySizeLimit` option to the `@astrojs/node` adapter
7
+
8
+
You can now configure a maximum allowed request body size for your Node.js standalone server. The default limit is 1 GB. Set the value in bytes, or pass `0` to disable the limit entirely:
0 commit comments