[master] 2fb567256 sess_close: generalize the description of errors

Nils Goroll nils.goroll at uplex.de
Wed Oct 1 13:15:05 UTC 2025


commit 2fb56725654b3cea00b585aca0a6dcda1417408d
Author: Asad Sajjad Ahmed <asadsa at varnish-software.com>
Date:   Thu May 22 10:10:13 2025 +0200

    sess_close: generalize the description of errors
    
    We use these errors for both sessions and fetches.
    Therefore, avoid making the description too client centric.
    
    Signed-off-by: Asad Sajjad Ahmed <asadsa at varnish-software.com>

diff --git a/include/tbl/sess_close.h b/include/tbl/sess_close.h
index 1fc5b648e..009b5b20b 100644
--- a/include/tbl/sess_close.h
+++ b/include/tbl/sess_close.h
@@ -32,8 +32,8 @@
 /*lint -save -e525 -e539 */
 
 // stream_close_t	  sc_* stat	is_err	Description
-SESS_CLOSE(REM_CLOSE,	  rem_close,	0,	"Client Closed")
-SESS_CLOSE(REQ_CLOSE,	  req_close,	0,	"Client requested close")
+SESS_CLOSE(REM_CLOSE,	  rem_close,	0,	"Peer Closed")
+SESS_CLOSE(REQ_CLOSE,	  req_close,	0,	"Peer requested close")
 SESS_CLOSE(REQ_HTTP10,	  req_http10,	1,	"Proto < HTTP/1.1")
 SESS_CLOSE(RX_BAD,	  rx_bad,	1,	"Received bad req/resp")
 SESS_CLOSE(RX_BODY,	  rx_body,	1,	"Failure receiving body")


More information about the varnish-commit mailing list