[3.0] 6672d25 Make the VSL error string on HTTP fetch timeout errors be 'http first read error' when tripping on first_byte_timeout, and 'http read error' when tripping on between_bytes_timeout (used to be 'http first read error' in both cases). This now matches current master.

Martin Blix Grydeland martin at varnish-cache.org
Mon Jul 22 16:06:55 CEST 2013


commit 6672d256e374d70a3e6b93f93ccf8f3b0e20938b
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date:   Mon Jul 22 16:01:25 2013 +0200

    Make the VSL error string on HTTP fetch timeout errors be 'http first
    read error' when tripping on first_byte_timeout, and 'http read error'
    when tripping on between_bytes_timeout (used to be 'http first read
    error' in both cases). This now matches current master.

diff --git a/bin/varnishd/cache_fetch.c b/bin/varnishd/cache_fetch.c
index de54da3..7b50c1e 100644
--- a/bin/varnishd/cache_fetch.c
+++ b/bin/varnishd/cache_fetch.c
@@ -498,7 +498,7 @@ FetchHdr(struct sess *sp)
 		i = HTC_Rx(w->htc);
 		if (i < 0) {
 			WSP(sp, SLT_FetchError,
-			    "http first read error: %d %d (%s)",
+			    "http read error: %d %d (%s)",
 			    i, errno, strerror(errno));
 			VDI_CloseFd(sp);
 			/* XXX: other cleanup ? */



More information about the varnish-commit mailing list