Skip to content

Commit

Permalink
[+] add handshake complete check for sending frame
Browse files Browse the repository at this point in the history
  • Loading branch information
Yanmei-Liu committed Jan 28, 2025
1 parent 85f79d9 commit d6dfe4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transport/xqc_engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ xqc_engine_process_conn(xqc_connection_t *conn, xqc_usec_t now)
{
conn->conn_flag |= XQC_CONN_FLAG_MP_READY_NOTIFY;
conn->conn_flag &= ~XQC_CONN_FLAG_MP_WAIT_MP_READY;
} else if (ret != XQC_OK) {
} else if (ret != XQC_OK && xqc_conn_check_handshake_completed(conn)) {
/* not enough cid for new path id */
uint64_t path_id = conn->create_path_count;
xqc_cid_set_inner_t *dcid_inner_set = xqc_get_path_cid_set(&conn->dcid_set, path_id);
Expand Down

0 comments on commit d6dfe4f

Please sign in to comment.