Forum

MaxRequestSize and MaxUploadSize don't work

robotanarchy
7 September 2015, 07:56
Hello,

in Hiawatha 9.14, these options seem to be broken and always say: Syntax error (when I start Hiawatha).

MaxRequestSize = 10240
MaxUploadSize = 10

No matter if I put them in a Virtual Host (is that possible? I'd prefer that!) or not.

Maybe I'm missing a compile option?

The man-page says, that they should exist and wigwam doesn't complain either:
https://www.hiawatha-webserver.org/manpages/hiawatha

Thanks!
Hugo Leisink
7 September 2015, 10:31
Those should be placed in a Binding section:
Binding {
...
MaxRequestSize = 10240
MaxUploadSize = 10
}
robotanarchy
7 September 2015, 22:22
D'oh! Thanks, it works now!
This topic has been closed.