Skip to content
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

Reduce memory usage for large file uploads #3062

Merged
merged 2 commits into from
Jan 29, 2023

Commits on Jan 27, 2023

  1. Reduce memory used when receiving large request bodies

    By re-using a single read buffer (vs allocating a new buffer on each call to read_nonblock), we significantly reduce the memory used when receiving large request bodies, such as those generated by Multipart/form-data requests with file uploads.
    willkoehler committed Jan 27, 2023
    Configuration menu
    Copy the full SHA
    98f552b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    084eaff View commit details
    Browse the repository at this point in the history