[master] f9ca634fe Zero in first/between byte params do not wait forever.

Poul-Henning Kamp phk at FreeBSD.org
Thu Oct 31 09:23:06 UTC 2019


commit f9ca634fe911b1e2e1f823c6191f0f9c18f6c8fa
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu Oct 31 09:21:36 2019 +0000

    Zero in first/between byte params do not wait forever.
    
    Fixes #3045

diff --git a/include/tbl/params.h b/include/tbl/params.h
index 9e52e598b..fe1589371 100644
--- a/include/tbl/params.h
+++ b/include/tbl/params.h
@@ -245,10 +245,10 @@ PARAM(
 	/* 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.",
+	"wait for this many seconds for the first byte before giving up.\n"
+	"VCL can override this default value for each backend and backend "
+	"request.\n"
+	"This parameter does not apply to pipe'ed requests.",
 	/* l-text */	"",
 	/* func */	NULL
 )
@@ -264,7 +264,6 @@ PARAM(
 	/* s-text */
 	"We only wait for this many seconds between bytes received from "
 	"the backend before giving up the fetch.\n"
-	"A value of zero means never give up.\n"
 	"VCL values, per backend or per backend request take precedence.\n"
 	"This parameter does not apply to pipe'ed requests.",
 	/* l-text */	"",


More information about the varnish-commit mailing list