mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 23:56:57 +02:00
CLEANUP: stconn: Move comment about sedesc fields on the field line
Fields of sedesc structure were documented in the comment about the structure itself. It was not really convenient, hard to read, hard to update. So comments about the fields are moved on the corresponding field line, as usual.
This commit is contained in:
parent
e827b45821
commit
8670bb42c2
@ -240,14 +240,6 @@ struct stconn;
|
|||||||
* endpoint itself (mux/applet) and eventually creates a new sedesc (for
|
* endpoint itself (mux/applet) and eventually creates a new sedesc (for
|
||||||
* instance on connection retries).
|
* instance on connection retries).
|
||||||
*
|
*
|
||||||
* <se> is the stream endpoint, i.e. the mux stream or the appctx
|
|
||||||
* <conn> is the connection for connection-based streams
|
|
||||||
* <sc> is the stream connector we're attached to, or NULL
|
|
||||||
* <lra> is the last read activity
|
|
||||||
* <fsb> is the first send blocked
|
|
||||||
* <flags> SE_FL_*
|
|
||||||
* <xref> cross reference with the opposite SC
|
|
||||||
*
|
|
||||||
* <lra> should be updated when a read activity is detected. It can be a
|
* <lra> should be updated when a read activity is detected. It can be a
|
||||||
* successful receive, when a shutr is reported or when receives are
|
* successful receive, when a shutr is reported or when receives are
|
||||||
* unblocked.
|
* unblocked.
|
||||||
@ -256,13 +248,14 @@ struct stconn;
|
|||||||
* when a successful send is reported.
|
* when a successful send is reported.
|
||||||
*/
|
*/
|
||||||
struct sedesc {
|
struct sedesc {
|
||||||
void *se;
|
void *se; /* the stream endpoint, i.e. the mux stream or the appctx */
|
||||||
struct connection *conn;
|
struct connection *conn; /* the connection for connection-based streams */
|
||||||
struct stconn *sc;
|
struct stconn *sc; /* the stream connector we're attached to, or NULL */
|
||||||
unsigned int flags;
|
unsigned int flags; /* SE_FL_* */
|
||||||
unsigned int lra;
|
unsigned int lra; /* the last read activity */
|
||||||
unsigned int fsb;
|
unsigned int fsb; /* the first send blocked */
|
||||||
struct xref xref;
|
/* 4 bytes hole here */
|
||||||
|
struct xref xref; /* cross reference with the opposite SC */
|
||||||
};
|
};
|
||||||
|
|
||||||
/* sc_app_ops describes the application layer's operations and notification
|
/* sc_app_ops describes the application layer's operations and notification
|
||||||
|
Loading…
Reference in New Issue
Block a user