Fork me on GitHub
#ring
<
2020-05-06
>
tianshu03:05:40

I ran into entity is too large when receive a large file upload. Where can I modify the limit for file size?

seancorfield04:05:19

@doglooksgood It will depend on which web server you are using. Some of them have JVM options you can set at start up, some have configuration files.

seancorfield04:05:45

(and how big is the file you are uploading??)

tianshu06:05:42

@seancorfield Okay, I'm using the old jetty adapter, I did not notice it could be a JVM option. Support uploading for about 10mb.

seancorfield06:05:16

(that said, we upload 10MB files with the default Jetty settings with no problems -- using the latest Ring/Jetty versions)

tianshu06:05:42

okay, thanks!