ZF-4923: Add a check for allowed transfer size

Description

When using http upload it should also check the config settings for

  • upload_max_size and
  • post_max_size

when using the http adapter or the file element. It should return an user notice when setting a higher value than accepted in the configuration. -1 allows all sizes and should also be taken in account.

Comments

New feature added with r12660 Additionally 'memory_limit' is also checked.