MINOR: mux-quic: remove the now unneeded conn_stream from the qcs
Since we always have a valid endpoint we can safely use it to access
the conn_stream and stop using qcs->cs. That's one less pointer to
care about.
diff --git a/src/h3.c b/src/h3.c
index 8a41f07..68fc102 100644
--- a/src/h3.c
+++ b/src/h3.c
@@ -112,7 +112,6 @@
struct htx *htx = NULL;
struct htx_sl *sl;
struct http_hdr list[global.tune.max_http_hdr];
- struct conn_stream *cs;
unsigned int flags = HTX_SL_F_NONE;
struct ist meth = IST_NULL, path = IST_NULL;
//struct ist scheme = IST_NULL, authority = IST_NULL;
@@ -183,8 +182,7 @@
if (fin)
htx->flags |= HTX_FL_EOM;
- cs = qc_attach_cs(qcs, &htx_buf);
- if (!cs)
+ if (!qc_attach_cs(qcs, &htx_buf))
return -1;
/* buffer is transferred to conn_stream and set to NULL