qcs->subs = NULL;
LIST_INIT(&qcs->list);
- // TODO do not insert luqs into streams_by_id as it prevent to detect
- // that the connection is dead
- //eb64_insert(&qcc->streams_by_id, &qcs->by_id);
+ eb64_insert(&qcc->streams_by_id, &qcs->by_id);
TRACE_LEAVE(QC_EV_QCS_NEW, qcc->conn);
return qcs;
qcs->subs = NULL;
LIST_INIT(&qcs->list);
- // TODO do not insert ruqs into streams_by_id as it prevent to detect
- // that the connection is dead
- //eb64_insert(&qcc->streams_by_id, &qcs->by_id);
+ eb64_insert(&qcc->streams_by_id, &qcs->by_id);
TRACE_LEAVE(QC_EV_QCS_NEW, qcc->conn);
return qcs;