Commit Graph

  • d0a23d3369 modify log info master whr819987540 2023-05-18 18:25:22 +0800
  • c642515007 use mbpp to modify mbp whr819987540 2023-05-08 16:38:45 +0800
  • 9f812744d0 NewMemory double pointer whr819987540 2023-05-08 16:13:44 +0800
  • f58ec9e188 NewMemory supports both seeder and leecher whr819987540 2023-05-08 15:48:53 +0800
  • a68c49defc use Debug flag whr819987540 2023-05-08 11:30:36 +0800
  • 9a636d2326 set the global debug flag 'Debug' for and only for torrent module whr819987540 2023-05-08 11:29:28 +0800
  • bc82214838 support seeding whr819987540 2023-05-06 15:04:12 +0800
  • 1346784b01 add comment, use announceList[0] to fullfille announce field whr819987540 2023-05-06 11:44:23 +0800
  • 64c11ff7b5 add comment and debug info whr819987540 2023-05-06 11:43:30 +0800
  • ffd17b70a3 add encoding to .torrent default config whr819987540 2023-05-04 17:29:53 +0800
  • d8f10ed70a go mod tidy whr819987540 2023-05-04 17:26:24 +0800
  • 90b694c4ae 返回某个torrent实际写入内存的字节数 whr819987540 2023-05-04 17:26:14 +0800
  • 30e909f905 实际写入chunk的位置 whr819987540 2023-05-04 17:25:29 +0800
  • 16ce9dc617 增加一个直接从Client返回ClientImpl的函数,用于读取MemoryClientImpl实际写入内存的字节数 whr819987540 2023-05-04 17:24:58 +0800
  • c4fcfe712c BuildFromMemory从内存中直接生成.torrent whr819987540 2023-05-04 17:22:46 +0800
  • ee2821f72e 实现MemoryClientImpl whr819987540 2023-05-04 17:20:39 +0800
  • 596be6e62b GeneratePiecesFromMemory whr819987540 2023-05-04 16:38:41 +0800
  • 11405bf65b BuildFromMemory从内存中直接生成.torrent whr819987540 2023-05-04 16:38:04 +0800
  • 81e4f2fa40 add comment whr819987540 2023-04-27 16:03:48 +0800
  • d02c7c9518 add comment whr819987540 2023-04-27 16:03:14 +0800
  • a7e27a4ff1 add comment whr819987540 2023-04-27 16:02:23 +0800
  • a6ca468094 add comment whr819987540 2023-04-27 16:00:04 +0800
  • 2848a224f9 add debug info whr819987540 2023-04-27 15:59:04 +0800
  • 31b19a2f19 add comment whr819987540 2023-04-27 15:58:22 +0800
  • 5868ed4d31 add comment to BuildFromFilePath whr819987540 2023-04-27 15:57:23 +0800
  • 874ac2c6b6 add test file for piece-length.go whr819987540 2023-04-27 12:05:16 +0800
  • 16debff467 minimumPieceLength from 16KB to 64KB, add maximumPieceLength 2MB-, piecelength priority is over piece numbr priority whr819987540 2023-04-27 12:04:53 +0800
  • ff11917fa8 add comment to ChoosePieceLength whr819987540 2023-04-27 10:38:37 +0800
  • f7e8a6ad2d add comment for DownloadAll whr819987540 2023-04-25 19:35:26 +0800
  • 1fb2348a0e move cmd dir to new repo, torrent_main.git whr 2023-04-25 11:24:58 +0800
  • 570704dcff add comment whr 2023-04-25 00:06:09 +0800
  • 5f9483f571 add comment whr 2023-04-25 00:05:16 +0800
  • 0a8b545d28 add comment and todo whr 2023-04-25 00:04:38 +0800
  • 6f42096625 add go.mod for cmd/torrent whr 2023-04-24 21:34:30 +0800
  • fd2f475ed0 go mod edit -replace=github.com/anacrolix/torrent=../torrent whr 2023-04-24 21:30:23 +0800
  • fdb0911e28
    Don't log using torrent source as warning for context cancellation Matt Joiner 2023-04-04 19:13:14 +1000
  • 42d29d95a6
    Import generics as g Matt Joiner 2023-04-04 19:12:26 +1000
  • 069b92a98c
    Add AddTorrentOpts.InfoBytes Matt Joiner 2023-04-04 19:12:01 +1000
  • 8d3e86e3c0
    Expose StringAddr Matt Joiner 2023-04-03 15:10:54 +1000
  • e13fd755ee
    bencode: Only use unsafe.String for go>=1.20 Matt Joiner 2023-04-03 15:10:38 +1000
  • 872b11bd57
    bencode: Support parsing strings into bool Matt Joiner 2023-03-20 10:50:22 +1100
  • c069849b40
    Add Peer.Torrent Matt Joiner 2023-03-01 14:17:29 +1100
  • 31bbd435f9
    gorond Matt Joiner 2023-03-01 12:34:35 +1100
  • d3b3d2d9bf
    Finish moving all Peer types and methods into peer.go Matt Joiner 2023-03-01 12:33:25 +1100
  • 2ae264b6cc
    Expose UDP tracker error response type Matt Joiner 2023-02-24 16:20:08 +1100
  • 63982c3c80
    Don't reconnect before sending requests with current conn ID Matt Joiner 2023-02-20 15:49:55 +1100
  • e8971ea0f1
    Add unit test for relative availability after HaveNone Matt Joiner 2023-02-19 13:24:25 +1100
  • 48b3e66c76
    Add http and udp tracker server implementations Matt Joiner 2023-02-19 12:08:23 +1100
  • e8b04c7181
    gofumpt Matt Joiner 2023-02-18 18:35:22 +1100
  • 81201050bc
    Bump golang.org/x/net from 0.5.0 to 0.7.0 (#819) dependabot[bot] 2023-02-18 16:06:17 +1100
  • 2cb7121a93
    Limit peer request data allocation Matt Joiner 2023-02-14 12:46:23 +1100
  • ceb7b2443a
    Bump github.com/pion/dtls/v2 from 2.1.5 to 2.2.4 (#814) dependabot[bot] 2023-02-14 08:15:15 +1100
  • abb5cbc96e
    Check for chunks overflowing piece bounds on request read Matt Joiner 2023-02-13 23:27:15 +1100
  • 60fd7581e7
    Remove unecessary completion "set" (#812) Colin Marc 2023-02-13 04:26:03 +0100
  • 5a185c45c0
    Update codeql analysis to v2 (#806) Spencer Comfort 2023-01-30 16:41:06 -0500
  • d47739db0c
    Roaring bitmap tests now pass when run from downstream Matt Joiner 2023-01-24 08:52:49 +1100
  • 8fe9fb78aa
    Add span for udp packet handling Matt Joiner 2023-01-08 17:22:02 +1100
  • 1eb923c947
    Forward leechers and seeders announce handler results Matt Joiner 2023-01-05 00:05:34 +1100
  • 2dfb57f3f7
    Handle left param for http tracker server announces Matt Joiner 2023-01-05 00:04:42 +1100
  • c20f73d53e
    gorond Matt Joiner 2023-01-04 01:26:31 +1100
  • a512c0df61
    Add a check that piece request order items are scanned in order Matt Joiner 2023-01-04 01:25:57 +1100
  • 8e0e36887f
    Fix an issue parsing negative bencode string lengths Matt Joiner 2023-01-04 01:25:26 +1100
  • 6baf8dcb99
    Limit udp tracker server request concurrency Matt Joiner 2023-01-03 00:14:21 +1100
  • 8c267645bf
    Update tidwall/btree Matt Joiner 2022-12-31 13:25:00 +1100
  • 14cf045b6a
    Sleep webseed peers after unhandled errors Matt Joiner 2022-12-31 11:27:47 +1100
  • f38629d354
    Assume upstream peers are leechers Matt Joiner 2022-12-29 19:42:19 +1100
  • 4f8826483e
    Resize packet buffer to avoid wasting memory Matt Joiner 2022-12-29 19:41:36 +1100
  • f61085c785
    Avoid panic in AnnounceEvent.String Matt Joiner 2022-12-29 19:41:09 +1100
  • 5f127343b0
    Fix race when final peers are available early Matt Joiner 2022-12-29 19:40:20 +1100
  • 7d3d4bc088
    Add Context parameter to SendResponse Matt Joiner 2022-12-29 10:22:03 +1100
  • 7f3655a14b
    Track request payload len Matt Joiner 2022-12-29 10:21:34 +1100
  • 61a303cbf7
    Default to announcing as leecher Matt Joiner 2022-12-17 11:08:46 +1100
  • e235776204
    Add --port flag to announce Matt Joiner 2022-12-16 15:38:30 +1100
  • 87105005e3
    Merge branch 'universal-webseed-escaping' Matt Joiner 2022-12-25 19:26:01 +1100
  • fed765b2a0
    Fix write error handling Matt Joiner 2022-12-25 19:23:07 +1100
  • 079599b91b
    Don't use path.Join in default webseed path escaper Matt Joiner 2022-12-25 18:20:42 +1100
  • df126fcace
    Add fuzzing for webseed path escaping Matt Joiner 2022-12-25 18:20:23 +1100
  • 291c428016
    Change default webseed path escaping to work for all S3-compatible providers Matt Joiner 2022-12-23 11:18:36 +1100
  • 48ad1a8aca
    update deps (#794) a 2022-12-21 18:07:40 -0600
  • b06b614845
    Make trackerServer package Matt Joiner 2022-12-18 10:56:25 +1100
  • 16da3c0c46
    Default to announcing as leecher Matt Joiner 2022-12-17 11:08:46 +1100
  • 6731a31839
    Pass seeders and leechers back in UDP announce Matt Joiner 2022-12-17 11:08:35 +1100
  • 3371522119
    Use port from announce request, not packet source Matt Joiner 2022-12-16 15:39:02 +1100
  • e554aa19a6
    Add --port flag to announce Matt Joiner 2022-12-16 15:38:30 +1100
  • 16c7621d9e
    Set span errors Matt Joiner 2022-12-16 13:22:44 +1100
  • 87e64b3088
    Propagate announce interval, particularly for UDP Matt Joiner 2022-12-15 23:21:08 +1100
  • cbea87aaf3
    Add upstream announce gating Matt Joiner 2022-12-13 16:41:08 +1100
  • ab4599b6b8
    Add some tracing Matt Joiner 2022-12-13 15:28:34 +1100
  • cfe166c745
    Don't use AnnounceHandler by value Matt Joiner 2022-12-12 11:23:33 +1100
  • f75989863c
    Validate received chunks before conversion to indexes Matt Joiner 2022-12-11 15:21:23 +1100
  • 0a4de1821e
    Fix error message for connection ID mismatch Matt Joiner 2022-12-08 15:07:14 +1100
  • 5cedf602f2
    Make UDP tracker connection ID unsigned Matt Joiner 2022-12-08 15:06:59 +1100
  • 91bde5fdf0
    Use ConnectionId type alias Matt Joiner 2022-12-08 15:06:05 +1100
  • acb09fcf79
    Add get peers limits Matt Joiner 2022-12-08 14:04:23 +1100
  • 1028161833
    Use smaller parameter type Matt Joiner 2022-12-08 14:04:42 +1100
  • e5f00e9a82
    Fix goroutine leak when augmenting peers from upstream Matt Joiner 2022-12-08 13:39:58 +1100
  • 3909c6c125
    Add customer headers when dialling WS connection to tracker (#789) Marco Vidonis 2022-12-07 22:17:33 +0000
  • 26c226f88f
    Fix missing log argument Matt Joiner 2022-12-07 10:43:45 +1100
  • 68dc90a7f7
    Rework logging Matt Joiner 2022-12-07 10:43:33 +1100
  • c23269d1cc
    Support upstream trackers Matt Joiner 2022-12-07 01:54:38 +1100