Matt Joiner
a491fdccbc
Move PeerClientName and PeerExtensionIDs to PeerConn
2023-05-19 14:41:27 +10:00
Matt Joiner
12db16c478
Drop peer request alloc reservations when peer is closed
...
Might fix a goroutine leak.
2023-05-09 15:46:53 +10:00
Matt Joiner
884b71ea6d
Add Client.Stats with ActiveHalfOpenAttempts
2023-05-09 15:46:52 +10:00
Matt Joiner
5703f9b5eb
Locate target peer using dial addr when receiving a holepunch rendezvous
2023-05-09 15:46:51 +10:00
Matt Joiner
e86e624415
WIP support for ut_holepunch
2023-05-01 10:19:26 +10:00
Matt Joiner
1e13625c73
Misc debug status, pex conn tracking improvements
2023-05-01 10:19:24 +10:00
Matt Joiner
c069849b40
Add Peer.Torrent
...
This was for accessing from callback events.
2023-03-01 14:17:29 +11:00
Matt Joiner
d3b3d2d9bf
Finish moving all Peer types and methods into peer.go
2023-03-01 12:34:16 +11:00
Matt Joiner
214fe6b93c
Use webrtc local addr for webrtc conn peer priority
...
WebRTC conns are providing the correct IP for peer priority calculations, so use that instead of trying to guess (which doesn't work if there are no regular conn listeners attached to the Client.
(cherry picked from commit e86bb5fee3958dc90a3d012469b1352005d6c9ad)
2022-07-12 15:52:03 +10:00
Matt Joiner
1bae62fd22
Dynamic outbound max requests
...
This might be one solution to https://github.com/anacrolix/torrent/issues/698 .
2021-12-24 08:55:57 +11:00