Remove from previous hashlist under transport edge case handling

master
Mark Qvist 2026-08-23 11:14:47 +02:00
parent 26e3ca4f2b
commit 1bad7f5807
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -2534,6 +2534,8 @@ class Transport:
# packet when it finally arrives over another path.
while packet.packet_hash in Transport.packet_hashlist:
Transport.packet_hashlist.remove(packet.packet_hash)
while packet.packet_hash in Transport.packet_hashlist_prev:
Transport.packet_hashlist_prev.remove(packet.packet_hash)
else:
destination = None
with Transport.destinations_map_lock: