Extract ReadBuf logic into a separate struct
This commit is contained in:
parent
09252c0397
commit
d5d98aff60
5 changed files with 120 additions and 89 deletions
|
|
@ -457,7 +457,6 @@ impl TorrentStateLive {
|
|||
r = requester => {r}
|
||||
r = peer_connection.manage_peer_incoming(
|
||||
rx,
|
||||
checked_peer.read_so_far,
|
||||
checked_peer.read_buf,
|
||||
checked_peer.handshake,
|
||||
checked_peer.stream
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue