Some recent API changes about conn-stream and stream creation were not fully
applied to the H3 part.
It is 2.6-DEV specific, no backport is needed.
cs = cs_new();
if (!cs)
return 1;
- cs_attach_endp(&qcs->qcc->conn->obj_type, qcs);
+ cs_attach_endp(cs, &qcs->qcc->conn->obj_type, qcs);
cs->flags |= CS_FL_NOT_FIRST;
cs->ctx = qcs;
- stream_create_from_cs(cs, &htx_buf);
+ stream_new(qcs->qcc->conn->owner, cs, &htx_buf);
/* buffer is transferred to conn_stream and set to NULL
* except on stream creation error.
return -1;
cs_attach_endp(cs, &qcs->qcc->conn->obj_type, qcs);
cs->ctx = qcs;
- stream_create_from_cs(cs, &htx_buf);
+ stream_new(qcs->qcc->conn->owner, cs, &htx_buf);
b_del(rxbuf, b_data(rxbuf));
b_free(&htx_buf);