Skip to content

Fix: TLP from an existing packet calling uv_udp_send on packet twice.#273

Merged
jthomas43 merged 1 commit intoholepunchto:mainfrom
jthomas43:fix-dont-send-tlp-if-in-uv-queue-already
Feb 25, 2026
Merged

Fix: TLP from an existing packet calling uv_udp_send on packet twice.#273
jthomas43 merged 1 commit intoholepunchto:mainfrom
jthomas43:fix-dont-send-tlp-if-in-uv-queue-already

Conversation

@jthomas43
Copy link
Copy Markdown
Contributor

Fix: Don't try to transmit a TLP from an existing packet if that packet is in the process of being transmitted, ie is already in the uv_udp_send queue.

if pkt->ref_count == 2 then the packet has already been submitted to the uv_udp_queue for transmission, ie due to normal timeout.

…n the process of being transmitted. if pkt->ref_count == 2 then the packet has already been submitted to the uv_udp_queue for transmission
@jthomas43 jthomas43 merged commit 5676efa into holepunchto:main Feb 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant