]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: mux-h2/trace: missing conn pointer in demux full message
authorWilly Tarreau <w@1wt.eu>
Wed, 2 Oct 2019 09:05:46 +0000 (11:05 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 2 Oct 2019 12:16:14 +0000 (14:16 +0200)
One trace was missing the connection's pointer, reporting "demux buffer full"
without indicating for what connection it was.

src/mux_h2.c

index 2fca7ac7c6192ec875c66022bc3e861835e13f0c..816cddc5c16ff50edcccd57727f7e6be173931db 100644 (file)
@@ -3310,7 +3310,7 @@ static int h2_recv(struct h2c *h2c)
 
        if (b_data(buf) == buf->size) {
                h2c->flags |= H2_CF_DEM_DFULL;
-               TRACE_STATE("demux buffer full", H2_EV_H2C_RECV|H2_EV_H2C_BLK);
+               TRACE_STATE("demux buffer full", H2_EV_H2C_RECV|H2_EV_H2C_BLK, h2c->conn);
        }
 
        TRACE_LEAVE(H2_EV_H2C_RECV, h2c->conn);