Commit Graph

  • a9373fc8fd Fix minimum peer extensions error message Matt Joiner 2021-12-03 20:36:34 +1100
  • ab78c449b7 Reduce idle request updates due to choke and unchoke messages Matt Joiner 2021-11-29 12:12:30 +1100
  • 5dba8f96e4 Merge branch 'udp-tracker-no-dial' into te Matt Joiner 2021-11-29 11:19:54 +1100
  • 8e707c9b15 Remove unused peer stuff in request strategy Matt Joiner 2021-11-29 10:14:16 +1100
  • 0f495ce97d Optimize the use of worstConnSlice again Matt Joiner 2021-11-29 10:07:48 +1100
  • 4f3db19ca3 Optimize Torrent.haveAnyPieces Matt Joiner 2021-11-29 00:44:24 +1100
  • 97e1e2469b Announce to DHT if we want conns, not just peers Matt Joiner 2021-11-28 22:46:45 +1100
  • b196fe7765 Wanting peers is a subset of wanting conns Matt Joiner 2021-11-28 22:37:56 +1100
  • f621f0f5a8 Don't want conns for seeding unless we have a piece Matt Joiner 2021-11-28 22:40:53 +1100
  • 51f6f07633 Peers with all pieces have wanted pieces only if we want any piece Matt Joiner 2021-11-28 22:36:19 +1100
  • 91e8f3e127 Abstract worseConn comparisons and add tests Matt Joiner 2021-11-28 17:06:10 +1100
  • 878a3e468b Rename worst_conns.go Matt Joiner 2021-11-28 12:53:18 +1100
  • 3626bb9fa9 Merge branch 'bsi-pending-requests' into te Matt Joiner 2021-11-27 09:38:58 +1100
  • 3829c22062 Use modernc.org/sqlite version that fixes temp dir race Matt Joiner 2021-11-26 17:06:13 +1100
  • 560b463983 Comment out pending requests tests and asserts Matt Joiner 2021-11-25 22:59:20 +1100
  • 8ddbf5a852 Revert "Use a flat slice for pending request counts" Matt Joiner 2021-11-25 22:32:52 +1100
  • aaec4dbd80 tracker/udp: Panic on read errors if ConnClient not closed Matt Joiner 2021-11-23 08:35:45 +1100
  • 615669ecf8 Improve logging of UDP tracker packet dispatch error Matt Joiner 2021-11-23 08:33:29 +1100
  • aae32e2a31 Wrap UDP tracker response error Matt Joiner 2021-11-23 08:32:25 +1100
  • 6cb65f4ecf Don't dial in UDP tracking Matt Joiner 2021-11-22 18:05:50 +1100
  • 8555ab7f21 Doc comments Matt Joiner 2021-11-22 18:06:27 +1100
  • 65ceef557a Remove CGO build flags for pure-Go squirrel branch Matt Joiner 2021-11-19 20:29:30 +1100
  • 3ab251fcf5 Use zombiezen branch of squirrel Matt Joiner 2021-11-19 20:10:07 +1100
  • 357896fb65 gofumpt Matt Joiner 2021-11-19 16:19:32 +1100
  • 24f3ecc7cd Use zombiezen sqlite for piece completion Matt Joiner 2021-11-19 16:18:41 +1100
  • 8e5ae65837 Quote peer extension names to expvar Matt Joiner 2021-11-19 13:02:42 +1100
  • 370fc56c16 Pull synchronous firewall callback performance improvement Matt Joiner 2021-11-17 14:24:38 +1100
  • 2f907e84a8 Optimize PeerConn.peerHasAllPieces Matt Joiner 2021-11-17 14:01:11 +1100
  • 0f81e0011f Avoid calling net.Conn methods with the Client mutex locked Matt Joiner 2021-11-17 14:00:50 +1100
  • e81e12fab1 Use tagged version of github.com/anacrolix/fuse Matt Joiner 2021-11-16 18:27:11 +1100
  • 8a7ddab785 Switch to github.com/anacrolix/fuse Matt Joiner 2021-11-16 18:20:02 +1100
  • 8e44c702c1 Remove dependency on and exclude of github.com/willf/bitset Matt Joiner 2021-11-16 17:36:48 +1100
  • c442a22ac2 Provide context to readahead func Matt Joiner 2021-11-14 13:52:05 +1100
  • 9cc3201df9 Add Reader.SetReadaheadFunc Matt Joiner 2021-11-11 10:24:28 +1100
  • 71cbea2fbc Add a comment about not discarding in webseed OK response bodies Matt Joiner 2021-11-14 14:01:46 +1100
  • 60dd68ede9 Don't log legitimate non-range requests Matt Joiner 2021-11-12 15:58:32 +1100
  • 8af369c11a Should fix failing go1.16 CI build Matt Joiner 2021-11-12 15:18:20 +1100
  • 63b7215892 Improve error handling for bad webseeds Matt Joiner 2021-11-12 14:43:22 +1100
  • a90ae5aed4 Pass HTTP Proxy config into webseeding HTTP client Matt Joiner 2021-11-12 14:16:14 +1100
  • 1071e261e1 Remove unused Client.updateRequests Matt Joiner 2021-11-12 13:55:43 +1100
  • dea0e41e29 Boost webseed max requests Matt Joiner 2021-11-12 13:51:58 +1100
  • a7dff20e3f Increment webseed peer piece availability Matt Joiner 2021-11-12 13:41:55 +1100
  • 09d9a070e9 Allow non-partial webseed part responses for small files Matt Joiner 2021-11-12 13:30:13 +1100
  • 411ebdbe28 webseed: Close unused part responses after error Matt Joiner 2021-11-12 12:40:15 +1100
  • 2fd928b918 Don't use non-directory webseed URLs for multi-file torrents Matt Joiner 2021-11-12 12:37:40 +1100
  • de95cf6db6 Make TorrentSpecFromMetaInfoErr still usable on info error Matt Joiner 2021-11-12 10:46:35 +1100
  • 1bf7019340 Comment that BEP 19 is WebSeeds Matt Joiner 2021-11-12 10:45:47 +1100
  • 801fa59d5a cmd/torrentfs: Add missing envpprof.Stop Matt Joiner 2021-11-12 10:37:21 +1100
  • 4b9dfa0af7 Pull uninitialized DHT store fix from anacrolix/dht Matt Joiner 2021-11-10 09:48:01 +1100
  • c6ee03f449 gofumpt Matt Joiner 2021-11-08 14:47:01 +1100
  • f86af21cd2 Improve dht bootstrap stats logging Matt Joiner 2021-11-05 09:30:25 +1100
  • eaeb38b18c cmd/torrent: Add serve subcommand Matt Joiner 2021-11-04 20:02:55 +1100
  • 59d5e17ace bencode: Fix marshalling of unaddressable array of bytes Matt Joiner 2021-11-04 20:01:25 +1100
  • c7ff32f01c Export addTorrentOpts Matt Joiner 2021-11-04 20:00:31 +1100
  • bc5cce8dca Move download subcmd code into separate file Matt Joiner 2021-11-04 11:36:34 +1100
  • 002de0ebe3 cmd/torrent: Add bencode {json,spew} commands Matt Joiner 2021-11-03 13:49:06 +1100
  • 68fdd41d89 bencode.Bytes: Tests and stricter checks Matt Joiner 2021-11-02 17:28:05 +1100
  • 1f22c51366 Run Go GitHub action with Go 1.16 as well as 1.17 Matt Joiner 2021-11-01 11:46:22 +1100
  • 70d15d405c Run Go GitHub action on all branches Matt Joiner 2021-11-01 11:45:08 +1100
  • b088c08acd Remove some unused parameter names Matt Joiner 2021-11-01 11:53:58 +1100
  • 1788303405 Alter some directory permissioning in storage Matt Joiner 2021-11-01 11:50:12 +1100
  • 8d193edb7e Remove unused Torrent.numActivePeers Matt Joiner 2021-11-01 11:49:36 +1100
  • 87a67db680 Remove unused conn piece inclinations Matt Joiner 2021-11-01 11:49:27 +1100
  • 487352fa5b fixup! [trackerscraper] Add custom DNS lookup function afjoseph 2021-10-29 10:34:38 +0200
  • b33b45baf4 [fuzz] Put +build tags to support go1.16 as well afjoseph 2021-10-28 10:54:46 +0200
  • 013634d9f1 Revert "Remove old-style build tags" afjoseph 2021-10-28 10:53:04 +0200
  • 2a6152b832 [trackerscraper] Add custom DNS lookup function afjoseph 2021-10-28 10:13:21 +0200
  • c2ed60f9f2
    Link to godocs.io for documentation Matt Joiner 2021-10-29 11:57:57 +1100
  • 2c70c23ac4 Fix unnecessary modification of Torrent.CancelPieces API Matt Joiner 2021-10-29 11:52:28 +1100
  • 446016cb27 bencode: Encode arrays of bytes as strings Matt Joiner 2021-10-28 16:21:23 +1100
  • 8b368b3832 Run all tests and benchmarks twice Matt Joiner 2021-10-27 15:15:27 +1100
  • d1e2d7ff92 Remove unnecessary intermediate steps in Go workflow Matt Joiner 2021-10-27 15:14:48 +1100
  • f2e9eeba3b Check if torrent is closed before handling peer request data read failures Matt Joiner 2021-10-27 15:14:11 +1100
  • eb2fc6dbef Fix panic in benchmark Matt Joiner 2021-10-27 13:57:19 +1100
  • ae28d0e0e4 Merge branch 'peer-requesting' Matt Joiner 2021-10-27 12:42:26 +1100
  • a7e7cbcb04 Retain the desired request ordering Matt Joiner 2021-10-27 10:13:39 +1100
  • 31985f1ea0 Add Peer.mustRequest Matt Joiner 2021-10-26 15:03:04 +1100
  • 98957b6e8e Only assert pending requests when check is enabled Matt Joiner 2021-10-26 14:42:42 +1100
  • 344ada8b7c Add disabled code for limiting wasted chunks Matt Joiner 2021-10-25 21:37:25 +1100
  • e7426133e2 Quote webrtc offer ID as ASCII-only Matt Joiner 2021-10-25 21:03:51 +1100
  • ccf57798a2 Fix iter pending chunk request offsets Matt Joiner 2021-10-25 20:53:39 +1100
  • 3d49a29288 Support minimum peer extensions Matt Joiner 2021-10-25 20:52:44 +1100
  • e8067f741f Always count unhandled requests as pending Matt Joiner 2021-10-25 16:36:58 +1100
  • 28726f737c Record webseed request result bytes against client stats Matt Joiner 2021-10-25 16:17:55 +1100
  • 37373864e4 Add more comprehensive pending requests assertions Matt Joiner 2021-10-25 16:16:56 +1100
  • 506996d038 Fix panic in update requests timer func on closed conn Matt Joiner 2021-10-25 16:16:06 +1100
  • e178f99f35 Fix race running and closing webtorrent tracker clients Matt Joiner 2021-10-25 16:15:42 +1100
  • e884b8079b Fix panic when sustaining unrejected requests after being choked Matt Joiner 2021-10-25 13:00:56 +1100
  • d331419604 Demote Torrent.runHandshookConnLoggingErr level to debug Matt Joiner 2021-10-21 11:40:06 +1100
  • ff3c186396 Add low requests check Matt Joiner 2021-10-21 10:48:43 +1100
  • 8eec0b665e Update webseeds for peer requesting Matt Joiner 2021-10-21 10:28:57 +1100
  • faf385c163 cmd/torrent: Use updated args module Matt Joiner 2021-10-20 16:41:33 +1100
  • 92d3e1ed6d Remove unused peerImpl methods Matt Joiner 2021-10-20 16:35:45 +1100
  • 200f5e5140 go mod tidy Matt Joiner 2021-10-20 11:36:48 +1100
  • 9625553fd2 Demote some recent logs to debug Matt Joiner 2021-10-20 11:22:35 +1100
  • e31e191c8d Improve protocol behaviour logging Matt Joiner 2021-10-20 11:22:20 +1100
  • 11e1080b40 go fmt Matt Joiner 2021-10-19 13:39:31 +1100
  • e51accb3e2 Don't error receiving unchoke while already unchoked Matt Joiner 2021-10-19 13:36:37 +1100
  • b50e941d1d Refresh updates after 3s instead of 1s Matt Joiner 2021-10-18 21:52:31 +1100
  • 4ce06bef00 Randomize request order Matt Joiner 2021-10-18 21:52:09 +1100