]> Sergey Matveev's repositories - btrtrc.git/blobdiff - torrent.go
Don't start another holepunch rendezvous if we're handling one
[btrtrc.git] / torrent.go
index ad89b45391cc9df92616888a369c67b09245b0e2..49ae06054d4b362c87f892652f15e9c1e0a7bed4 100644 (file)
@@ -2825,7 +2825,7 @@ func (t *Torrent) handleReceivedUtHolepunchMsg(msg utHolepunch.Msg, sender *Peer
        }
 }
 
-func (t *Torrent) startHolepunchRendezvous(addrPort netip.AddrPort) error {
+func (t *Torrent) trySendHolepunchRendezvous(addrPort netip.AddrPort) error {
        rzsSent := 0
        for pc := range t.conns {
                if !pc.supportsExtension(utHolepunch.ExtensionName) {