Browse Source

fix: drain input_send_q and input_wait_ack at end of etcp_conn_reset to ensure inflight queues are cleared on remote node restart

feature/x25519-migration
Evgeny 3 months ago
parent
commit
89d675f15d
  1. 5
      src/etcp.c

5
src/etcp.c

@ -453,6 +453,11 @@ void etcp_conn_reset(struct ETCP_CONN* etcp) {
}
}
clear_queue(etcp->input_send_q);
clear_queue(etcp->input_wait_ack);
queue_resume_callback(etcp->input_send_q);
queue_resume_callback(etcp->input_wait_ack);
DEBUG_TRACE(DEBUG_CATEGORY_ETCP, "end");
}

Loading…
Cancel
Save