Commit f4053ac0 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Move first_byte_timeout param to new order

parent 21d73961
......@@ -163,9 +163,6 @@ struct params {
/* Default connection_timeout */
double connect_timeout;
/* Read timeouts for backend */
double first_byte_timeout;
/* CLI buffer size */
unsigned cli_buffer;
......
......@@ -308,17 +308,6 @@ struct parspec mgt_parspec[] = {
"backend request.",
0,
"3.5", "seconds" },
{ "first_byte_timeout", tweak_timeout,
&mgt_param.first_byte_timeout,
"0", NULL,
"Default timeout for receiving first byte from backend. "
"We only wait for this many seconds for the first "
"byte before giving up. A value of 0 means it will never time "
"out. "
"VCL can override this default value for each backend and "
"backend request. This parameter does not apply to pipe.",
0,
"60", "seconds" },
{ "clock_skew", tweak_uint, &mgt_param.clock_skew,
"0", NULL,
"How much clockskew we are willing to accept between the "
......
......@@ -177,6 +177,24 @@ PARAM(
/* func */ NULL
)
PARAM(
/* name */ first_byte_timeout,
/* tweak */ timeout,
/* min */ "0",
/* max */ NULL,
/* default */ "60",
/* units */ "seconds",
/* flags */ 0,
/* s-text */
"Default timeout for receiving first byte from backend. We only "
"wait for this many seconds for the first byte before giving up. A "
"value of 0 means it will never time out. VCL can override this "
"default value for each backend and backend request. This "
"parameter does not apply to pipe.",
/* l-text */ "",
/* func */ NULL
)
PARAM(
/* name */ between_bytes_timeout,
/* tweak */ timeout,
......@@ -443,24 +461,6 @@ PARAM(
/* l-text */ "",
/* func */ NULL
)
PARAM(
/* name */ first_byte_timeout,
/* tweak */ tweak_timeout,
/* var */ first_byte_timeout,
/* min */ 0.000,
/* max */ none,
/* default */ 60.000,
/* units */ seconds,
/* flags */ 00,
/* s-text */
"Default timeout for receiving first byte from backend. We only "
"wait for this many seconds for the first byte before giving up. A "
"value of 0 means it will never time out. VCL can override this "
"default value for each backend and backend request. This "
"parameter does not apply to pipe.\n",
/* l-text */ "",
/* func */ NULL
)
PARAM(
/* name */ gzip_buffer,
/* tweak */ tweak_bytes_u,
......
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