• Resolved zpqrtbnk

    (@zpqrtbnk)


    Using the plugin on a site that seems to have a limit of, say, 4MB but behind a CloudFlare setup with a limit of, say, 2MB… so when the first part of a large ZIP is uploaded (size is 2MB) we get a “413 Request Entity Too Large” from, it seems, CloudFlare. Now we can upload photos of about 1MB. Is there a way we can hack the plugin / force it to limit its chunk size to 1MB?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter zpqrtbnk

    (@zpqrtbnk)

    So I found line 283 in upload-larger-plugins.php that calculates $chunk_size and if I try to halve that in two… now I get the “413 Request Entity Too Large” with a 1MB chunk being uploaded. Considering I definitively can upload photos that are 1MB there has to be something else. Ideas?

    And yes I know … contact the hosting company … but right now it’s not that easy.

    Thread Starter zpqrtbnk

    (@zpqrtbnk)

    Wow – no idea how CloudFlare is configured, but sizing chunks down to 512K works – and no, I cannot upload 1MB photos, my mistake. So here: problem solved.

    Plugin Author David Anderson

    (@davidanderson)

    Great – glad you got it sorted!

    David

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How is the max size determined?’ is closed to new replies.