From: Amaury Denoyelle Date: Thu, 26 Nov 2026 10:23:20 +0000 (+0100) Subject: CLEANUP: mux_quic: fix indentation in rcv_buf X-Git-Url: https://git.kaiwu.me/http/%22../static/control.html?a=commitdiff_plain;h=1b3fd5372d362a54cd7430d3b918d370774b5a25;p=haproxy.git CLEANUP: mux_quic: fix indentation in rcv_buf Recently added code was badly indented as spaces were used. Adjust the code to use tabs for alignment. --- diff --git a/src/mux_quic.c b/src/mux_quic.c index 5004cbd55..fb88cd7eb 100644 --- a/src/mux_quic.c +++ b/src/mux_quic.c @@ -4531,18 +4531,18 @@ static size_t qcm_strm_rcv_buf(struct stconn *sc, struct buffer *buf, ret = qcs_http_rcv_buf(qcs, buf, count, &fin); if (b_data(&qcs->rx.app_buf)) { - if (b_data(buf)) - se_fl_set(qcs->sd, SE_FL_RCV_MORE | SE_FL_WANT_ROOM); - else { - /* we have pending data and the output buf is empty, - * this is typical of too large a non-fragmentable - * data (e.g headers, trailers) combined with a - * reserve, so this will never unblock. - */ - TRACE_STATE("report xfer error", QMUX_EV_STRM_RECV, qcc->conn, qcs); - se_fl_set(qcs->sd, SE_FL_ERROR); - goto leave; - } + if (b_data(buf)) + se_fl_set(qcs->sd, SE_FL_RCV_MORE | SE_FL_WANT_ROOM); + else { + /* we have pending data and the output buf is empty, + * this is typical of too large a non-fragmentable + * data (e.g headers, trailers) combined with a + * reserve, so this will never unblock. + */ + TRACE_STATE("report xfer error", QMUX_EV_STRM_RECV, qcc->conn, qcs); + se_fl_set(qcs->sd, SE_FL_ERROR); + goto leave; + } } else { se_fl_clr(qcs->sd, SE_FL_RCV_MORE | SE_FL_WANT_ROOM); @@ -4603,7 +4603,7 @@ static size_t qcm_strm_rcv_buf(struct stconn *sc, struct buffer *buf, tasklet_wakeup(qcc->wait_event.tasklet); } } -leave: + leave: TRACE_LEAVE(QMUX_EV_STRM_RECV, qcc->conn, qcs); return ret;