CLEANUP: mux-quic: remove unused QC_CF_CC_RECV
This flag was used to notify the MUX about a CONNECTION_CLOSE frame
reception. It is now unused on the MUX side and can be removed. A new
mechanism to detect quic-conn closing will be soon implemented.
diff --git a/include/haproxy/mux_quic-t.h b/include/haproxy/mux_quic-t.h
index ab2b952..61ff95a 100644
--- a/include/haproxy/mux_quic-t.h
+++ b/include/haproxy/mux_quic-t.h
@@ -23,8 +23,7 @@
QCS_MAX_TYPES
};
-#define QC_CF_CC_RECV 0x00000001
-#define QC_CF_BLK_MFCTL 0x00000002 /* sending blocked due to connection flow-control */
+#define QC_CF_BLK_MFCTL 0x00000001 /* sending blocked due to connection flow-control */
struct qcc {
struct connection *conn;
diff --git a/src/xprt_quic.c b/src/xprt_quic.c
index a1fb283..8757d9d 100644
--- a/src/xprt_quic.c
+++ b/src/xprt_quic.c
@@ -2591,11 +2591,6 @@
qc_idle_timer_do_rearm(qc);
qc->flags |= QUIC_FL_CONN_DRAINING|QUIC_FL_CONN_IMMEDIATE_CLOSE;
}
- /* warn the mux to close the connection */
- if (qc->mux_state == QC_MUX_READY) {
- qc->qcc->flags |= QC_CF_CC_RECV;
- tasklet_wakeup(qc->qcc->wait_event.tasklet);
- }
break;
case QUIC_FT_HANDSHAKE_DONE:
if (qc_is_listener(ctx->qc))