commit 604fae3a0195d60b60a8acf4a8de8667759df8c3
parent c25c1c528176c21e0dbcb3637d4e89124e208005
Author: Joris Vink <joris@coders.se>
Date: Mon, 6 Feb 2017 21:28:33 +0100
unfuck parsing http_body_max.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/config.c b/src/config.c
@@ -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);