]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: tevt/stconn: Add a termination events log in the SE descriptor
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 23 Dec 2024 10:24:29 +0000 (11:24 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 31 Jan 2025 09:41:50 +0000 (10:41 +0100)
This termination events log will be used to report events from the mux
streams. The location will be "tevt_loc_se" and the muxes will be
responsible to report the corresponding events.

include/haproxy/stconn-t.h

index ffd9c4461648be238b6f31ded755a639e6914128..6db88f709ec054e6e4f9ca6bb62169df2175ca15 100644 (file)
@@ -317,10 +317,10 @@ struct sedesc {
        struct stconn *sc;         /* the stream connector we're attached to, or NULL */
        struct iobuf iobuf;        /* contains data forwarded by the other side and that must be sent by the stream endpoint */
        unsigned int flags;        /* SE_FL_* */
+       uint32_t term_evts_log;    /* Termination events log: first 4 events reported */
        struct se_abort_info abort_info; /* Info about abort, as reported by the endpoint and eventually enriched by the app level */
        unsigned int lra;          /* the last read activity */
        unsigned int fsb;          /* the first send blocked */
-       /* 4 bytes hole here */
        struct xref xref;          /* cross reference with the opposite SC */
 };