[4.1] 5d0103a The parameter's name is timeout_linger

PÃ¥l Hermunn Johansen hermunn at varnish-software.com
Mon Sep 12 15:48:17 CEST 2016

commit 5d0103ab98f9379db01be4bffba8b5b5477e82be
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 bb0d635..ab926d9 100644
--- a/include/tbl/vsc_f_main.h
+++ b/include/tbl/vsc_f_main.h
@@ -390,7 +390,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