[Kimchi-devel] [PATCH] [Wok 1/2] Fix value of max_body_size example in config

Lucio Correia posted 2 patches 7 years, 7 months ago
[Kimchi-devel] [PATCH] [Wok 1/2] Fix value of max_body_size example in config
Posted by Lucio Correia 7 years, 7 months ago
The correct default value is 4 MB, not 4 GB.

Signed-off-by: Lucio Correia <luciojhc@linux.vnet.ibm.com>
---
 src/wok.conf.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/wok.conf.in b/src/wok.conf.in
index 3806609..0e9b993 100644
--- a/src/wok.conf.in
+++ b/src/wok.conf.in
@@ -19,8 +19,8 @@
 # Running environment of the server
 #environment = production
 
-# Max request body size in KB, default value is 4GB
-#max_body_size = 4 * 1024 * 1024
+# Max request body size in KB, default value is 4MB
+#max_body_size = 4 * 1024
 
 # Wok server root. Set the following variable to configure any relative path to
 # the server. For example, to have Wok pointing to https://localhost:8001/wok/
-- 
2.7.4

_______________________________________________
Kimchi-devel mailing list
Kimchi-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/kimchi-devel
Re: [Kimchi-devel] [PATCH] [Wok 1/2] Fix value of max_body_size example in config
Posted by Aline Manera 7 years, 6 months ago

On 02/09/2017 03:08 PM, Lucio Correia wrote:
> The correct default value is 4 MB, not 4 GB.

Why? Where have you gotten that info?

> Signed-off-by: Lucio Correia <luciojhc@linux.vnet.ibm.com>
> ---
>   src/wok.conf.in | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/wok.conf.in b/src/wok.conf.in
> index 3806609..0e9b993 100644
> --- a/src/wok.conf.in
> +++ b/src/wok.conf.in
> @@ -19,8 +19,8 @@
>   # Running environment of the server
>   #environment = production
>
> -# Max request body size in KB, default value is 4GB
> -#max_body_size = 4 * 1024 * 1024
> +# Max request body size in KB, default value is 4MB
> +#max_body_size = 4 * 1024
>
>   # Wok server root. Set the following variable to configure any relative path to
>   # the server. For example, to have Wok pointing to https://localhost:8001/wok/

_______________________________________________
Kimchi-devel mailing list
Kimchi-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/kimchi-devel