Title: Raise default body parser limit to 20MB · Issue #563 · JavaScriptSolidServer/JavaScriptSolidServer · GitHub
Open Graph Title: Raise default body parser limit to 20MB · Issue #563 · JavaScriptSolidServer/JavaScriptSolidServer
X Title: Raise default body parser limit to 20MB · Issue #563 · JavaScriptSolidServer/JavaScriptSolidServer
Description: Summary The default request body limit is currently 10MB, set in src/config.js: bodyLimit: 10 * 1024 * 1024, Propose raising the default to 20MB (20 * 1024 * 1024). Motivation 10MB is easy to hit in normal use — e.g. larger git push payl...
Open Graph Description: Summary The default request body limit is currently 10MB, set in src/config.js: bodyLimit: 10 * 1024 * 1024, Propose raising the default to 20MB (20 * 1024 * 1024). Motivation 10MB is easy to hit i...
X Description: Summary The default request body limit is currently 10MB, set in src/config.js: bodyLimit: 10 * 1024 * 1024, Propose raising the default to 20MB (20 * 1024 * 1024). Motivation 10MB is easy to hit i...
Opengraph URL: https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/563
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Raise default body parser limit to 20MB","articleBody":"## Summary\n\nThe default request body limit is currently 10MB, set in `src/config.js`:\n\n```js\nbodyLimit: 10 * 1024 * 1024,\n```\n\nPropose raising the default to **20MB** (`20 * 1024 * 1024`).\n\n## Motivation\n\n10MB is easy to hit in normal use — e.g. larger `git push` payloads over the tunnel, media uploads, or bigger RDF documents. Users can already raise the limit via `--body-limit` / `JSS_BODY_LIMIT` / `createServer({ bodyLimit })`, but a more generous out-of-the-box default reduces friction for common workloads.\n\n## Proposed change\n\n- Bump the default in `src/config.js` from `10 * 1024 * 1024` to `20 * 1024 * 1024`\n- Update the `--body-limit` help text in `bin/jss.js` (currently says \"default 10MB\")\n- Adjust `test/body-limit.test.js` expectations as needed\n\n## Notes\n\nThe limit remains configurable, so deployments wanting tighter memory-DoS protection can still lower it.","author":{"url":"https://github.com/melvincarvalho","@type":"Person","name":"melvincarvalho"},"datePublished":"2026-06-11T08:27:02Z","url":"https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/563"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0d5413e3-3ff1-c7ab-95ab-b6ff18125a2c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C0C8:1F08:278924B:346544A:6B03975E |
| html-safe-nonce | d9156318a11f80ed7a6cac43daf5a844bc22e875199bf2a94a86bdce67c2174c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMEM4OjFGMDg6Mjc4OTI0QjozNDY1NDRBOjZCMDM5NzVFIiwidmlzaXRvcl9pZCI6IjM0NDYwMTk1ODI0MTcxNDc3NDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e5f743f81318063733ef57652c0b2df14ca1ee9c8cac5e73a15a848297a8c715 |
| hovercard-subject-tag | issue:4638662626 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JavaScriptSolidServer/JavaScriptSolidServer/563/issue_layout |
| twitter:image | https://opengraph.githubassets.com/72046920496baeb589039524623dd0cc0c70f2c43c956d7023e900cd88330e37/JavaScriptSolidServer/JavaScriptSolidServer/issues/563 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/72046920496baeb589039524623dd0cc0c70f2c43c956d7023e900cd88330e37/JavaScriptSolidServer/JavaScriptSolidServer/issues/563 |
| og:image:alt | Summary The default request body limit is currently 10MB, set in src/config.js: bodyLimit: 10 * 1024 * 1024, Propose raising the default to 20MB (20 * 1024 * 1024). Motivation 10MB is easy to hit i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | melvincarvalho |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/JavaScriptSolidServer/JavaScriptSolidServer git https://github.com/JavaScriptSolidServer/JavaScriptSolidServer.git |
| octolytics-dimension-user_id | 205442424 |
| octolytics-dimension-user_login | JavaScriptSolidServer |
| octolytics-dimension-repository_id | 958025407 |
| octolytics-dimension-repository_nwo | JavaScriptSolidServer/JavaScriptSolidServer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 958025407 |
| octolytics-dimension-repository_network_root_nwo | JavaScriptSolidServer/JavaScriptSolidServer |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width