Skip to content

Can chunked size be calculated automatically? #2

Description

@bilogic

I have 2 problems:

A. Having to figure out what chunk size to use when coding (instead of discovery at/near runtime)
B. After figuring out, it still does not work, I have to reduce my chunk size further by about 2000 bytes

  1. On Nginx + PHP FPM, all using default values, Nginx has 1M for client_max_body_size
  2. However, I have to reduce my chunk size by ~2000 bytes depending on the length of the filename or face 413
  3. So, what are we doing is to set client_max_body_size as 2M and upload_max_filesize as 1M
  4. Would be great if there is a way to line up client_max_body_size and PHP's upload_max_filesize, i.e. set 1M for both and it works
  5. Then a piece of code would work seamlessly across all servers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions