Commit 5676efa
authored
Dont create a TLP from an existing packet if that packet is already in the process of being transmitted. if pkt->ref_count == 2 then the packet has already been submitted to the uv_udp_queue for transmission (holepunchto#273)
1 parent 60cf0cf commit 5676efa
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
958 | 958 | | |
959 | 959 | | |
960 | 960 | | |
| 961 | + | |
961 | 962 | | |
962 | 963 | | |
963 | | - | |
| 964 | + | |
964 | 965 | | |
965 | 966 | | |
966 | 967 | | |
967 | 968 | | |
968 | | - | |
| 969 | + | |
969 | 970 | | |
970 | 971 | | |
971 | 972 | | |
| |||
0 commit comments