[master] 8d0686d The parameter's name is timeout_linger

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Tue Aug 23 16:32:14 CEST 2016

commit 8d0686dc4c63a0f07c68cbd41d95f038cc1d2a29
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Tue Aug 23 16:24:10 2016 +0200

    The parameter's name is timeout_linger
    There are two timeout names where `timeout` is the prefix:
    - timeout_linger
    - timeout_idle
    If it were up to me, they'd be called the other way around and according
    to the documentation:
    > `session_linger` has been renamed to `timeout_linger
    If it were up to me, it would have been renamed to a self-describing
    `session_linger_timeout` (wink wink, nudge nudge).
    Typo spotted by scn.

diff --git a/include/tbl/vsc_f_main.h b/include/tbl/vsc_f_main.h
index 4b04a8e..2a94188 100644
--- a/include/tbl/vsc_f_main.h
+++ b/include/tbl/vsc_f_main.h
@@ -386,7 +386,7 @@ VSC_F(sess_readahead,		uint64_t, 1, 'c', 'i', info,
 VSC_F(sess_herd,		uint64_t, 1, 'c', 'i', diag,
     "Session herd",
-	"Number of times the linger_timeout triggered"
+	"Number of times the timeout_linger triggered"
 #define SESS_CLOSE_ERR0 "OK  "

More information about the varnish-commit mailing list