mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 02:05:30 +00:00
aquatic_ws: shorten field names in ConnectionMeta, PeerConnection
This commit is contained in:
parent
da2d5986b9
commit
b76f8cdebc
4 changed files with 16 additions and 18 deletions
|
|
@ -97,7 +97,7 @@ pub fn handle_announce_requests(
|
|||
// Since peers have access to each others peer_id's, they could send
|
||||
// requests using them, causing all sorts of issues.
|
||||
if let Some(previous_peer) = torrent_data.peers.get(&peer_id){
|
||||
if sender_meta.peer_socket_addr != previous_peer.connection_meta.peer_socket_addr {
|
||||
if sender_meta.peer_addr != previous_peer.connection_meta.peer_addr {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue