mirror of
https://github.com/transmission/transmission
synced 2025-01-02 21:16:04 +00:00
7e4b4f10a1
* chore: housekeeping * perf: short circuit peer has block check * refactor: track active requests in each respective peer * refactor: swap `ActiveRequests` with new request tracking method * refactor: use bitfield to store active requests per peer * perf: check active request numbers first * refactor: initialise candidate values in constructor * refactor: better naming * refactor: use `find_by_block()` more * refactor: store wishlist mediator in swarm object * test: make it compile * test: update endgame test * test: new test for choke event * test: remove redundant lines * test: new test for request event * test: new test for reject event * refactor: cache block have state in wishlist * test: fix `gotBlockResortsPiece` * fixup! refactor: track active requests in each respective peer * fixup! test: fix `gotBlockResortsPiece` * fix: count webseeds when calculating active requests * build: update xcode project * fix: add missing `candidates_dirty_` checks * chore: remove old `depends-on` comments * fixup! refactor: use bitfield to store active requests per peer * refactor: extract block peer event to separate function * perf: reorder conditions by overhead * perf: check for completed block instead of completed piece * chore: remove duplicated "unrequested piece" check * refactor: merge similar block size sanity check * refactor: use map to store number of requests in wishlist * refactor: add asserts * refactor: flush write buffer as soon as there is new data * refactor: more accurate function naming * fix: account for corrupt pieces in wishlist * fix: account for unaligned blocks in wishlist * Revert "fix: account for unaligned blocks in wishlist" This reverts commit c3fce93cbae49c11d62e26caccedf55c1987aa95. * fixup! refactor: use map to store number of requests in wishlist * fix: account for unaligned blocks in wishlist v2 * chore: add `[[nodiscard]]` * fixup! fix: account for unaligned blocks in wishlist v2 * fix: crash when handshake finishes in the middle of function |
||
---|---|---|
.. | ||
assets | ||
.clang-tidy | ||
announce-list-test.cc | ||
announcer-test.cc | ||
announcer-udp-test.cc | ||
benc-test.cc | ||
bitfield-test.cc | ||
block-info-test.cc | ||
blocklist-test.cc | ||
buffer-test.cc | ||
clients-test.cc | ||
CMakeLists.txt | ||
completion-test.cc | ||
copy-test.cc | ||
crypto-test.cc | ||
dht-test.cc | ||
dns-test.cc | ||
error-test.cc | ||
file-piece-map-test.cc | ||
file-test.cc | ||
getopt-test.cc | ||
handshake-test.cc | ||
history-test.cc | ||
ip-cache-test.cc | ||
json-test.cc | ||
lpd-test.cc | ||
magnet-metainfo-test.cc | ||
makemeta-test.cc | ||
move-test.cc | ||
net-test.cc | ||
open-files-test.cc | ||
peer-mgr-wishlist-test.cc | ||
peer-msgs-test.cc | ||
platform-test.cc | ||
quark-test.cc | ||
remove-test.cc | ||
rename-test.cc | ||
rpc-test.cc | ||
session-alt-speeds-test.cc | ||
session-test.cc | ||
settings-test.cc | ||
strbuf-test.cc | ||
subprocess-test-program.cc | ||
subprocess-test-script.cmd | ||
subprocess-test.cc | ||
test-fixtures.h | ||
timer-test.cc | ||
torrent-files-test.cc | ||
torrent-magnet-test.cc | ||
torrent-metainfo-test.cc | ||
torrents-test.cc | ||
tr-peer-info-test.cc | ||
utils-test.cc | ||
values-test.cc | ||
variant-test.cc | ||
watchdir-test.cc | ||
web-utils-test.cc |