[master] 142c3a012 Fix RX_BODY description

Nils Goroll nils.goroll at uplex.de
Thu May 12 15:44:14 UTC 2022


commit 142c3a012935ceb68ffd6fe753f5498eedd0c8ed
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Thu May 12 17:42:25 2022 +0200

    Fix RX_BODY description
    
    This session close reason is also used for receiving response
    bodies, for example:
    
    --  TTL            RFC 86400 10 0 1652368707 1652368707 1652368707 0 86400 cacheable
    --  VCL_call       BACKEND_RESPONSE
    --  VCL_return     deliver
    --  Timestamp      Process: 1652368707.157422 0.063369 0.000054
    --  Filters
    --  Storage        file s0
    --  Fetch_Body     2 chunked stream
    --  FetchError     chunked read err
    --  BackendClose   53 self close Failure receiving req.body
    --  BereqAcct      1337 0 1337 987 3465216 3466203
    --  End

diff --git a/include/tbl/sess_close.h b/include/tbl/sess_close.h
index 3660bb9bb..b91c93951 100644
--- a/include/tbl/sess_close.h
+++ b/include/tbl/sess_close.h
@@ -36,7 +36,7 @@ SESS_CLOSE(REM_CLOSE,	  rem_close,	0,	"Client Closed")
 SESS_CLOSE(REQ_CLOSE,	  req_close,	0,	"Client 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 req.body")
+SESS_CLOSE(RX_BODY,	  rx_body,	1,	"Failure receiving body")
 SESS_CLOSE(RX_JUNK,	  rx_junk,	1,	"Received junk data")
 SESS_CLOSE(RX_OVERFLOW,   rx_overflow,	1,	"Received buffer overflow")
 SESS_CLOSE(RX_TIMEOUT,	  rx_timeout,	1,	"Receive timeout")


More information about the varnish-commit mailing list