Commit 839b3614 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

chunksize is in kilobytes


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@973 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 54b3eaa7
...@@ -198,11 +198,11 @@ tweak_fetch_chunksize(struct cli *cli, struct parspec *par, const char *arg) ...@@ -198,11 +198,11 @@ tweak_fetch_chunksize(struct cli *cli, struct parspec *par, const char *arg)
(void)par; (void)par;
if (arg != NULL) { if (arg != NULL) {
u = strtoul(arg, NULL, 0); u = strtoul(arg, NULL, 0);
params->fetch_chunksize = u; params->fetch_chunksize = u * 1024;
} }
if (cli == NULL) if (cli == NULL)
return; return;
cli_out(cli, "%u [kb]\n", params->fetch_chunksize); cli_out(cli, "%u [kb]\n", params->fetch_chunksize * 1024);
} }
#ifdef HAVE_SENDFILE #ifdef HAVE_SENDFILE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment