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
the current implementation server function buffer everything in memory since there no body limit like next.js server action this allow any user to upload large payloads to any server function POST endpoint. if dev not handled this properly this can cause OOM if self-hosted
Which project does this relate to?
Start
Describe the bug
the current implementation server function buffer everything in memory since there no body limit like next.js server action this allow any user to upload large payloads to any server function POST endpoint. if dev not handled this properly this can cause OOM if self-hosted
Your Example Website or App
https://tanstack.com/_server/app_utils_config_ts--getTanstackDocsConfig_createServerFn_handler?payload=%7B%22data%22%3A%7B%22repo%22%3A%22tanstack%2Frouter%22%2C%22branch%22%3A%22main%22%2C%22docsRoot%22%3A%22docs%2Fstart%22%7D%2C%22context%22%3A%7B%7D%7D&createServerFn
Steps to Reproduce the Bug or Issue
send large payloads (binary, form data, etc.) to any server function endpoint
Expected behavior
abilty to set body limit globally and per server function
Screenshots or Videos
test upload 100MB file to tanstack.com server function endpoint
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: