2
0
mirror of synced 2025-02-22 21:58:24 +00:00

Commit Graph

  • f4d4b59d89 Add some generic map helpers Matt Joiner 2022-01-12 14:20:55 +11:00
  • 53cf508061 Implement smart ban using generics Matt Joiner 2022-01-10 16:19:16 +11:00
  • 245c728762 Use gotip for CI build Matt Joiner 2021-12-24 08:33:38 +11:00
  • 935dc3da0a Switch to ajwerner/btree in piece request ordering Matt Joiner 2021-12-20 12:10:26 +11:00
  • 934944e498 Add AjwernerBtree as an alternative btree backing for piece request order Matt Joiner 2021-12-18 16:07:44 +11:00
  • c54dc22592 Benchmark PieceRequestOrder with varying styles of path hint usage Matt Joiner 2021-12-17 21:25:38 +11:00
  • 62060fb897 Use tidwall/btree generics for piece request ordering Matt Joiner 2021-12-15 14:37:52 +11:00
  • c47e6b1f60 Use webrtc selected ICE candidate for peer addresses Matt Joiner 2022-01-12 14:22:42 +11:00
  • b668c826e2 Rename webtorrent source files Matt Joiner 2022-01-12 11:46:13 +11:00
  • f074b30bcb Use tagged anacrolix/squirrel Matt Joiner 2022-01-14 09:22:08 +11:00
  • c17186bf85 Switch from missinggo/MultiLess to anacrolix/multiless Matt Joiner 2022-01-12 15:07:26 +11:00
  • 83a8284d6a Add tests for preferred network direction Matt Joiner 2022-01-12 15:01:33 +11:00
  • 0c7754da63 Add const noCacheBlobs in sqlite storage benchmarks Matt Joiner 2022-01-10 16:20:03 +11:00
  • 31243ad4fd go mod tidy Matt Joiner 2022-01-07 19:15:59 +11:00
  • 726eec2f8d bencode: Support decoding "" as dict key Matt Joiner 2022-01-07 19:11:37 +11:00
  • 071ade67ae bencode: Return ErrUnexpectedEOF instead of EOF in the middle of values Matt Joiner 2022-01-07 19:06:33 +11:00
  • 32097526fc Add bencode.Decoder.MaxStrLen Matt Joiner 2022-01-07 19:05:03 +11:00
  • e8bd16257c fs/test.sh: Use go run instead of godo Matt Joiner 2021-12-27 20:27:25 +11:00
  • 50fcd908ca tracker/udp.ConnClient: Make logging configurable Matt Joiner 2021-12-28 11:02:14 +11:00
  • 2e9ecd5a32 Reject peer requests on data read failures Matt Joiner 2021-12-27 22:19:04 +11:00
  • f7494791d0 Reduce some logging Matt Joiner 2021-12-27 22:06:52 +11:00
  • 14d636ec50 Fix TestTorrentDroppedDuringResponsiveRead flakiness Matt Joiner 2021-12-27 21:16:51 +11:00
  • fc857d4557 Allow stealing from slower connections within priority classes Matt Joiner 2021-12-23 18:44:07 +11:00
  • 1bae62fd22 Dynamic outbound max requests Matt Joiner 2021-12-24 08:55:57 +11:00
  • 89b8b78980 Include requests pending cancel in current request count Matt Joiner 2021-12-23 18:55:57 +11:00
  • 9d07f3ea77 Replace piece availability with frequencies in Torrent status Matt Joiner 2021-12-23 17:01:39 +11:00
  • dbbe2fa71e Revert go directive to 1.16 Matt Joiner 2021-12-23 13:45:51 +11:00
  • 9f2e2e39fa cmd/torrent: Add --linear-discard Matt Joiner 2021-12-23 12:36:53 +11:00
  • 9739afce93 Fix panic in webseeds updating requests when Torrent is closed Matt Joiner 2021-12-20 14:32:37 +11:00
  • 7772d50f74 cmd/torrent: Lower burst when there's a download rate limit Matt Joiner 2021-12-20 14:30:22 +11:00
  • cc0d223a65 Apply download rate limiter to webseeds Matt Joiner 2021-12-20 14:29:43 +11:00
  • 87dfef7778 Don't wait for DHT pings Matt Joiner 2021-12-20 12:09:28 +11:00
  • 80aec73cb5 Make Torrent.cancelRequestsForPiece more efficient Matt Joiner 2021-12-18 09:22:18 +11:00
  • 506ff8d037 Use relative availabilities to determine piece request order Matt Joiner 2021-12-17 22:06:21 +11:00
  • bdb33ef9f7 gofumpt -extra Matt Joiner 2021-12-18 08:58:56 +11:00
  • 74c70d852a Add TestHaveAllThenBitfield Matt Joiner 2021-12-17 19:12:10 +11:00
  • b831060d6e
    fix http tracker arg position (#700) Preston 2021-12-23 09:34:16 +08:00
  • b6cc93c0be * set proxy of websocket tracker to the proxy used by client config martin 2021-12-14 23:57:19 +08:00
  • 73bdd5a7a4 Fix leaked mmap storage in test Matt Joiner 2021-12-16 11:41:31 +11:00
  • 12c77bc410 Fix race in TextPexConnState Matt Joiner 2021-12-16 11:07:19 +11:00
  • 48fa9b59fd Fix go-libutp import when CGO is disabled Matt Joiner 2021-12-16 09:44:59 +11:00
  • 2b0ec5d762 Test benchmarks in a separate step and limit executions Matt Joiner 2021-12-16 14:19:19 +11:00
  • ffb98097fa Fix BenchmarkUpdatePiecePriorities Matt Joiner 2021-12-15 19:09:22 +11:00
  • e7ee568c52 Fix BenchmarkConnectionMainReadLoop Matt Joiner 2021-12-15 18:54:47 +11:00
  • 1668a18859 Some optimizations in PieceRequestOrder.Update and item comparisons Matt Joiner 2021-12-15 18:07:17 +11:00
  • 8c129d6bfc Retract v1.39.0 Matt Joiner 2021-12-13 12:16:43 +11:00
  • c0a888ee17 Tidy up request heaping comments Matt Joiner 2021-12-13 12:12:30 +11:00
  • 9d9556c97f Add Peer.cancelAllRequests for webseedPeer Matt Joiner 2021-12-13 12:11:38 +11:00
  • 98f188dcbe Update requests after deleting all in some corner cases Matt Joiner 2021-12-13 12:09:12 +11:00
  • 47ef8d9c2d Assert that a request isn't cancelled before requesting it again Matt Joiner 2021-12-13 11:56:57 +11:00
  • a671c06b94 Update peer requests if not interested when piece priorities change Matt Joiner 2021-12-13 11:55:47 +11:00
  • 26b521b41c Explicitly use go-libutp synchronous firewall callback Matt Joiner 2021-12-12 21:32:29 +11:00
  • 3d3052b8bd Merge branch 'request-strategy-experiments' Matt Joiner 2021-12-12 18:38:33 +11:00
  • 04beb8937f More consistent cancellation management Matt Joiner 2021-12-12 00:04:06 +11:00
  • 30375615b3 Remove unused request strategy code Matt Joiner 2021-12-11 14:14:24 +11:00
  • 1bc84e316f Don't group Torrent piece request orders without a storage capacity together Matt Joiner 2021-12-11 13:46:29 +11:00
  • 8c5df03e14 Minimize allocations due to heap escapes Matt Joiner 2021-12-09 21:49:29 +11:00
  • 8c9a308c9a Only steal an odd request if the stealer more recently received a chunk Matt Joiner 2021-12-07 14:19:44 +11:00
  • 7de7b986c9 Only use last requested when both requests are already pending Matt Joiner 2021-12-07 14:17:43 +11:00
  • ddf41fc2f1 Add Torrent-level request cancel for consistency Matt Joiner 2021-12-10 18:04:45 +11:00
  • aca22a0896 Update peer cancel assumptions and return Matt Joiner 2021-12-06 19:02:29 +11:00
  • 1b92249f2a Improve panic message Matt Joiner 2021-12-03 21:31:40 +11:00
  • 117ae28b38 Try request stealing Matt Joiner 2021-12-03 21:30:41 +11:00
  • 73be571f50 Don't try to request anything without the torrent info Matt Joiner 2021-12-03 16:41:52 +11:00
  • 99a64bcf63 Wait between duplicate requests Matt Joiner 2021-12-02 13:10:02 +11:00
  • 8025d15155 Stop iterating pieces when storage is exhausted Matt Joiner 2021-12-01 19:31:29 +11:00
  • 135f21fb64 Use interfaces to lazily expose the bare minimum inputs to GetRequestablePieces Matt Joiner 2021-12-01 19:21:25 +11:00
  • 4088e847f3 Provide mapping from infohash to Torrent in Input Matt Joiner 2021-12-01 15:20:42 +11:00
  • 94bb5d40ba Implement piece request ordering with retained state Matt Joiner 2021-12-01 14:38:47 +11:00
  • b99dd505b5 Avoid reflection sorting request pieces Matt Joiner 2021-11-30 21:31:32 +11:00
  • de2bea502c Use indices to lookup pieces for comparison Matt Joiner 2021-11-30 15:26:05 +11:00
  • 231301f5d7 Cache piece request orderings Matt Joiner 2021-11-30 15:18:38 +11:00
  • 8e99558e11 Retract last few minor versions with peer-requesting issues Matt Joiner 2021-12-12 18:24:27 +11:00
  • cd9a3a14ad Revert "Link to godocs.io for documentation" Matt Joiner 2021-12-12 17:20:02 +11:00
  • 67ed5d0032 Partition piece request strategy by storage capacity key Matt Joiner 2021-11-29 13:07:18 +11:00
  • ad082bc644 Do webseed request updates asynchronously Matt Joiner 2021-12-06 19:24:04 +11:00
  • 6625b05da4 Add more identifying information to PeerConn.String Matt Joiner 2021-12-06 19:02:55 +11:00
  • 1d787c3923 Add generalized decodeJsonByteString and a fuzz target for it Matt Joiner 2021-12-11 13:43:25 +11:00
  • 14ee69aaeb Add failing bencode fuzz input Matt Joiner 2021-12-03 17:15:59 +11:00
  • 96ef73aeb6 Transmission does not reject cancelled requests Matt Joiner 2021-12-07 14:16:02 +11:00
  • 388bfafa01 Don't log webseed request context cancellation results Matt Joiner 2021-12-06 19:24:48 +11:00
  • cd7e6dcd5c bencode: Avoid allocating interface string up front Matt Joiner 2021-12-10 15:10:26 +11:00
  • 79511abe6c bencode: Fix decoding integer with leading + Matt Joiner 2021-12-10 14:29:35 +11:00
  • 8764456d23 bencode: Enforce dict key ordering Matt Joiner 2021-12-10 14:05:00 +11:00
  • 78e48f71dd bencode incorrectly parsed integers with leading zeroes Matt Joiner 2021-12-10 13:36:53 +11:00
  • 42dca16753 Add bencode FuzzInterfaceRoundTrip Matt Joiner 2021-12-10 13:35:57 +11:00
  • 4cfdc2f497 Shuffle duplicate requests Matt Joiner 2021-12-12 16:56:00 +11:00
  • 4913f17c01 Generate full sintel magnet link in fs test Matt Joiner 2021-12-02 10:50:02 +11:00
  • e16c799638 Add sintel.torrent Matt Joiner 2021-12-02 10:49:30 +11:00
  • 8dc897d4a2 Fix races using resources on Close Matt Joiner 2021-12-01 18:24:17 +11:00
  • 69f3b6064e Don't use the Client's IP blocklist after the Client is closed Matt Joiner 2021-12-01 15:02:36 +11:00
  • 54d529aac0 Remove unused torrent_pending_pieces.go Matt Joiner 2021-12-01 11:27:16 +11:00
  • ba592028e5 Filter update requests on piece priority change by peer choking and allowed fast Matt Joiner 2021-11-30 15:19:59 +11:00
  • a9485e8796 Ensure peerRequests.torrentStrategyInput is set Matt Joiner 2021-11-29 13:46:44 +11:00
  • 102f3182fc PEX: remove workaround for krpc marshaller Yaroslav Kolomiiets 2021-12-08 13:02:36 +00:00
  • bdb218a698 PEX: use new NodeAddr search methods in krpc Yaroslav Kolomiiets 2021-12-08 10:16:54 +00:00
  • 4a06517856 PEX: fluid event log Yaroslav Kolomiiets 2021-12-06 18:46:25 +00:00
  • 7197c5f493 Fix wasm build Matt Joiner 2021-12-07 13:07:58 +11:00
  • 22053c9238 Don't fail-fast on go versions Matt Joiner 2021-12-07 12:42:35 +11:00
  • a2c50ea2bd Handle 503 returns from webseed peer endpoints Matt Joiner 2021-12-06 15:14:59 +11:00