Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
f4053ac0
Commit
f4053ac0
authored
Aug 17, 2015
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move first_byte_timeout param to new order
parent
21d73961
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
32 deletions
+18
-32
params.h
bin/varnishd/common/params.h
+0
-3
mgt_param_tbl.c
bin/varnishd/mgt/mgt_param_tbl.c
+0
-11
params.h
include/tbl/params.h
+18
-18
No files found.
bin/varnishd/common/params.h
View file @
f4053ac0
...
...
@@ -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
;
...
...
bin/varnishd/mgt/mgt_param_tbl.c
View file @
f4053ac0
...
...
@@ -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 "
...
...
include/tbl/params.h
View file @
f4053ac0
...
...
@@ -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,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment