QUIC/requestor: fix crash when counterpart closes connection

This commit is contained in:
Libor Peltan 2026-01-04 15:30:12 +01:00 committed by Daniel Salzman
parent 25b423c483
commit d2f5da6d52

View file

@ -255,6 +255,9 @@ int knot_qreq_recv(struct knot_quic_reply *r, struct iovec *out, int timeout_ms)
if (ret != KNOT_EOK) {
return ret;
}
if (conn->conn == NULL) {
return KNOT_ECONN;
}
}
knot_tcp_inbufs_upd_res_t *firstib = stream->inbufs;