mirror of
https://github.com/jorisvink/kore
synced 2025-03-10 04:59:02 -04:00
unfuck parsing http_body_max.
This commit is contained in:
parent
c25c1c5281
commit
604fae3a01
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user