mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-23 06:41:32 +02:00
BUILD: mux-pt: Use the right name for the sedesc variable
A typo was introduced in 760d26a86 ("BUG/MEDIUM: mux-pt/mux-h1: Release the pipe on connection error on sending path"). The sedesc variable is 'sd', not 'se'. This patch must be backported with the commit above.
This commit is contained in:
parent
760d26a862
commit
d9f41b1d6e
12
src/mux_pt.c
12
src/mux_pt.c
@ -621,9 +621,9 @@ static size_t mux_pt_done_ff(struct stconn *sc)
|
||||
if (conn_xprt_read0_pending(conn))
|
||||
se_fl_set(ctx->sd, SE_FL_EOS);
|
||||
se_fl_set_error(ctx->sd);
|
||||
if (se->iobuf.pipe) {
|
||||
put_pipe(se->iobuf.pipe);
|
||||
se->iobuf.pipe = NULL;
|
||||
if (sd->iobuf.pipe) {
|
||||
put_pipe(sd->iobuf.pipe);
|
||||
sd->iobuf.pipe = NULL;
|
||||
}
|
||||
TRACE_DEVEL("error on connection", PT_EV_TX_DATA|PT_EV_CONN_ERR, conn, sc);
|
||||
}
|
||||
@ -740,9 +740,9 @@ static int mux_pt_resume_fastfwd(struct stconn *sc, unsigned int flags)
|
||||
if (conn_xprt_read0_pending(conn))
|
||||
se_fl_set(ctx->sd, SE_FL_EOS);
|
||||
se_fl_set_error(ctx->sd);
|
||||
if (se->iobuf.pipe) {
|
||||
put_pipe(se->iobuf.pipe);
|
||||
se->iobuf.pipe = NULL;
|
||||
if (sd->iobuf.pipe) {
|
||||
put_pipe(sd->iobuf.pipe);
|
||||
sd->iobuf.pipe = NULL;
|
||||
}
|
||||
TRACE_DEVEL("error on connection", PT_EV_TX_DATA|PT_EV_CONN_ERR, conn, sc);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user