kmarrip / kmarrip/Torrentz

Reuse Connections to peers

Open
#1 0 comments 0 reactions 1 assignee Claimed by @kmarrip View on GitHub
enhancement
Dominant language
Go
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

- Currently a random peer is selected and for a piece and a new connection is established.
- Connection is closed once the piece is downloaded, if a new piece needs to be downloaded new handshake is sent out.
- Instead store the connection and bitfield values in struct and reuse them.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.