Commit Graph

  • 8bbd6aa1fd update the go modules main v0.33.9 eyedeekay 2024-11-13 14:58:29 -05:00
  • 02c954c228 Fix up import paths eyedeekay 2024-11-09 11:53:41 -05:00
  • 89ff8eee03 update module path eyedeekay 2024-11-08 14:33:07 -05:00
  • e294334abb fixup modules eyedeekay 2024-01-13 17:10:22 -05:00
  • 272ef550b7 fork it idk 2023-05-14 19:19:52 +00:00
  • 16a5d27f0c clean up modules idk 2023-01-23 05:01:57 +00:00
  • 5b8308625c separate download and upload handler idk 2023-01-15 23:07:07 +00:00
  • 4e6a12c27e add block upload handler idk 2023-01-15 22:16:34 +00:00
  • f33c354e82 move block_handler, start uploader idk 2023-01-15 22:00:08 +00:00
  • 50d4aa85a4 remove substitutions from go modules idk 2023-01-06 04:57:47 +00:00
  • 1487cbf781 fix remaining I2P issues idk 2023-01-06 04:22:05 +00:00
  • ed906bf55c update i2pkeys version idk 2022-09-23 00:22:53 -04:00
  • b21d3cd500 resolve merge conflict idk 2022-09-02 19:27:47 -04:00
  • ea8b503f2a delete the unnecessary types and empty lines xgfone 2022-07-31 10:16:58 +08:00
  • 81a090cb4e update dht server test xgfone 2022-07-30 23:01:14 +08:00
  • 925a365e5c Make the dialer types settable so I can finally switch this over to being an I2P application idk 2022-07-29 23:18:41 -04:00
  • 079c851e09 tracker fixes idk 2022-07-29 23:00:13 -04:00
  • cda34d75ad fix merge conflicts idk 2022-07-29 22:59:01 -04:00
  • 319b24e5e7 dht bootstrap ignores the unsupported addresses xgfone 2022-07-24 14:34:54 +08:00
  • 602260229f add the verbose error information for dht server xgfone 2022-07-24 14:19:37 +08:00
  • 08e96d75e1 fix the calculation the bucket id of route table xgfone 2022-07-24 14:06:28 +08:00
  • 749fff8a3c fix: terminate the transaction in response from get_peers and find_nodes xgfone 2022-07-24 13:36:54 +08:00
  • 9d60a418af add the test for go1.18 xgfone 2022-05-10 20:44:44 +08:00
  • cdf38f2076 http tracker client supports to configure http.Client xgfone 2022-05-10 20:43:56 +08:00
  • 6985e6dfc0 fix the bug about marshaling the krpc error message xgfone 2022-05-10 20:35:02 +08:00
  • 8de6256598 update the doc comments xgfone 2022-05-10 20:33:06 +08:00
  • 3236a67c66 more purges of non-interface address types idk 2022-03-10 14:06:38 -05:00
  • a8a6984ced upgrade metainfo to net.Addrs idk 2022-03-09 12:39:15 -05:00
  • 5c1d55731f even less dependence on concrete ntwork types idk 2022-03-03 19:17:51 -05:00
  • 5dac4ba515 purge more direct uses of net.IP idk 2022-03-03 18:36:22 -05:00
  • 6b9883fae7 Implement compact I2P addresses idk 2022-03-03 17:40:15 -05:00
  • 03d2419ec3 desthash is wrong right now. idk 2022-03-03 15:53:15 -05:00
  • 424c19af04 desthash is wrong right now. idk 2022-03-03 15:51:37 -05:00
  • 3c40f43f64 Add hypothetical patches idk 2022-01-13 16:07:53 -05:00
  • 3c2817b87d Add hypothetical patches idk 2022-01-13 16:04:17 -05:00
  • ff4c19cc0a switch it over to interfaces idk 2021-12-30 15:43:15 -05:00
  • 4314dbe520 only test go1.11+ xgfone 2021-09-05 21:19:43 +08:00
  • c717b4efcf update github action workflows xgfone 2021-09-05 21:18:23 +08:00
  • 4ff417fc95 update github action workflows xgfone 2021-09-05 21:15:49 +08:00
  • 91c1b00781 update github action workflows xgfone 2021-09-05 21:10:10 +08:00
  • 9dd65eb86c update github action workflows xgfone 2021-09-05 21:04:46 +08:00
  • 1fae5655b3 use github actions instead of travis xgfone 2021-09-05 21:00:50 +08:00
  • 55029fba24 update README xgfone 2021-06-11 21:07:32 +08:00
  • 55d5ad3494 the directory to create Info must contain a file at least xgfone 2021-02-08 16:34:25 +08:00
  • fd3825a27b fix the error when newing a Info from a directory xgfone 2021-02-08 15:32:53 +08:00
  • b983dc1754 fix: Info.GetFileByOffset only allows fileOffset==file.Length for the last file xgfone 2021-01-03 11:07:09 +08:00
  • a44f3f34b6 fix: add the file Paths for the single file for Info.GetFileByOffset xgfone 2021-01-03 11:03:01 +08:00
  • 9b1326d9a4 fix: correct fileOffset to file.Length when Info.GetFileByOffset reaches the last file xgfone 2021-01-03 10:59:08 +08:00
  • 9fdf2b2a6b update and fix the metainfo xgfone 2020-12-26 23:19:42 +08:00
  • 1d811ccdc2 GetPeers returns []GetPeersResult instead of <-chan GetPeersResult xgfone 2020-10-24 12:32:04 +08:00
  • 6086fc53b7 update the doc comment xgfone 2020-06-28 20:06:38 +08:00
  • bdb3db3166 set the ipv4/ipv6 protocols as the default when the address is empty xgfone 2020-06-27 23:10:54 +08:00
  • 10bf29d7d4 update README.md xgfone 2020-06-20 23:06:20 +08:00
  • 87a03f763b add some piece sizes xgfone 2020-06-20 19:29:54 +08:00
  • a2af7e1c0c update peer server xgfone 2020-06-19 20:38:20 +08:00
  • 5841196688 update README.md xgfone 2020-06-19 20:19:43 +08:00
  • 79d51906c1 update the downloader xgfone 2020-06-19 20:19:32 +08:00
  • ada4692b65 update peer protocol xgfone 2020-06-19 20:18:58 +08:00
  • 32cc9a6738 fix a bug xgfone 2020-06-19 20:17:28 +08:00
  • d8551d97b2 add the path /announce into the tracker url if missing xgfone 2020-06-19 20:16:50 +08:00
  • 7a19f492a3 add the String method for BitField xgfone 2020-06-18 23:27:20 +08:00
  • 0c27c4f805 add the MType prefix for the message types xgfone 2020-06-18 23:14:23 +08:00
  • 4d9030d096 add the MType prefix for the message types xgfone 2020-06-18 23:12:27 +08:00
  • 3f0570b868 use the type BitField instead of []bool xgfone 2020-06-18 23:06:43 +08:00
  • 920f99e2c6 add the dial timeout xgfone 2020-06-18 22:43:13 +08:00
  • fbfe450c03 add OnWriteMsg to customize the message sending xgfone 2020-06-18 22:42:15 +08:00
  • 8a90efa6f0 update file piece and block xgfone 2020-06-18 22:40:20 +08:00
  • 6804c8fb43 update tracker xgfone 2020-06-18 22:39:22 +08:00
  • a7f955dfe6 update example test xgfone 2020-06-14 17:11:39 +08:00
  • a6b10015cf add the file downloading handler xgfone 2020-06-14 16:58:48 +08:00
  • 8951a19acc add the no-op implementation for the handlers xgfone 2020-06-13 10:38:49 +08:00
  • dafbca62c4 update torrent downloader xgfone 2020-06-12 21:05:27 +08:00
  • dd9a644ea4 update PeerConn interface xgfone 2020-06-12 21:03:59 +08:00
  • 2a8b6bd467 update tracker interface xgfone 2020-06-12 21:03:02 +08:00
  • 11fe99eeeb MetaInfo.Magnet uses the information of info as the default when the arguments are the empty value xgfone 2020-06-12 21:02:22 +08:00
  • 0b4a6d67c0 fix: the memory leaks because of the dead loop xgfone 2020-06-11 23:55:13 +08:00
  • 2687c8a5cc add the Reader and Writer for torrent files xgfone 2020-06-11 22:36:38 +08:00
  • 09c7246f74 add the new methods PieceOffset and GetFileByOffset for Info xgfone 2020-06-11 00:02:20 +08:00
  • 246aaf4157 add PathWithPrefix to add the prefix to the returned path xgfone 2020-06-11 00:01:50 +08:00
  • 745b8b5d40 the path returned by File.Path contains the directory xgfone 2020-06-11 00:01:07 +08:00
  • ddec282207 allow CopyNBuffer to set the buffer to nil xgfone 2020-06-09 21:00:33 +08:00
  • af334826d7 does not return an error for the unknown type of the peer message xgfone 2020-06-09 20:59:55 +08:00
  • 810bd5932a add the callback OnClose for Handler xgfone 2020-06-07 15:28:08 +08:00
  • 249556c2e5 remove the support of Go 1.7&1.8 because of the requirement of type alias xgfone 2020-06-07 14:43:44 +08:00
  • 43abddb2cb add the test for go 1.7, 1.8, 1.9, 1.10 xgfone 2020-06-07 14:21:19 +08:00
  • cec626f2d7 fix: use %s instead of %w for fmt.Errorf to be compatible with go below 1.13 xgfone 2020-06-07 14:17:44 +08:00
  • 5911d1e5ab fix bugs xgfone 2020-06-07 14:08:33 +08:00
  • 464d8114eb fix the missing of reflect.IsZero below go1.13 xgfone 2020-06-07 13:59:24 +08:00
  • 6bfa2f6700 first commit xgfone 2020-06-07 13:43:15 +08:00