You must configure this on the web server. For example, using nginx:
client_max_body_size 50M;
Edit: The stream used by HttpServer has the max_buffer_size property. HttpServer will not accept orders more than this. The default value for it is 100 MB. It seems to me that HttpServer just closes the connection instead of sending an HTTP response when this limit is reached.
source share