unfuck parsing http_body_max.

This commit is contained in:
Joris Vink 2017-02-06 21:28:33 +01:00
parent c25c1c5281
commit 604fae3a01
1 changed files with 1 additions and 1 deletions

View File

@ -604,7 +604,7 @@ configure_http_body_max(char *option)
{
int err;
http_body_max = kore_strtonum(option, 10, 0, SIZE_MAX, &err);
http_body_max = kore_strtonum(option, 10, 0, LONG_MAX, &err);
if (err != KORE_RESULT_OK) {
printf("bad http_body_max value: %s\n", option);
return (KORE_RESULT_ERROR);