Commit graph

  • 6968a4e449
    Cargo clippy: fix the majority of errors Igor Katson 2022-12-08 20:20:23 +00:00
  • 871d927596
    JSON error (playing with serde API) Igor Katson 2022-12-08 20:13:01 +00:00
  • 8b621059c1
    Reorder code in http_api Igor Katson 2022-12-08 15:40:29 +00:00
  • 8cb368e73c
    Prettify API a bit Igor Katson 2022-12-08 11:06:29 +00:00
  • 66e62d61e4
    Playing with axum HTTP error handling Igor Katson 2022-12-08 09:28:01 +00:00
  • 818e300935
    DHT: use rwlock, not mutex Igor Katson 2022-12-07 22:01:29 +00:00
  • 813ef92123
    Change the info hash for e2e dht test Igor Katson 2022-12-04 22:41:07 +00:00
  • 9e8f235cb4
    Add read/write timeouts and avoid stuck peers Igor Katson 2022-12-04 14:34:21 +00:00
  • ae847ce99c
    Upgrade deps Igor Katson 2022-12-04 13:11:40 +00:00
  • 15ae48e5af
    Changed warp to axum Igor Katson 2022-12-04 12:53:55 +00:00
  • 4cf538162e
    Added brew tap aarch64-unknown-linux-gnu Igor Katson 2022-05-23 21:40:05 +01:00
  • 28992ae5e4
    Added one more artifact Igor Katson 2022-05-23 21:35:20 +01:00
  • bc11f43452
    Revert "Integrate with tokio console" Igor Katson 2022-05-23 21:33:25 +01:00
  • 9c79e3a99e
    Added linux aarch64 Igor Katson 2022-05-23 21:33:12 +01:00
  • e10da1c7dd
    Integrate with tokio console Igor Katson 2021-12-18 13:39:42 +00:00
  • 99c5830b97
    Changed the loglevel of annoying log message "we are choked" to debug Igor Katson 2021-11-13 21:22:12 +00:00
  • cc8011cf9a
    Fix a bug in lengths computation Igor Katson 2021-10-28 11:00:03 +01:00
  • 37af0a4afb
    Propagate sub-folder argument to command line Igor Katson 2021-10-26 10:21:02 +01:00
  • 4170bf3574
    cargo update Igor Katson 2021-10-26 10:05:35 +01:00
  • 804303c526
    Merge pull request #9 from pcmid/pcmid/update/target_dir Igor Katson 2021-10-25 17:18:02 +01:00
  • 81cf94b55d
    Merge pull request #8 from pcmid/pcmid/fix/wrong_result_for_mbps Igor Katson 2021-10-25 17:14:31 +01:00
  • 681e93a066
    Update: add sub_folder in AddTorrentOptions pcmid 2021-10-25 22:00:47 +08:00
  • 18713515b9
    Update: change Mbps to MiB/s pcmid 2021-10-25 18:11:46 +08:00
  • 921fc812d3
    Update README.md Igor Katson 2021-10-25 10:46:10 +01:00
  • ff895671cf
    Update README.md Igor Katson 2021-10-25 10:44:13 +01:00
  • 8b4027e3d6
    Format: cargo fmt pcmid 2021-10-25 16:46:30 +08:00
  • 188055c812
    Fix: multiply the number of bytes by 8 pcmid 2021-10-25 16:39:14 +08:00
  • 967a06a196
    Enhance the HTTP API with more detail. Igor Katson 2021-10-23 09:37:37 +01:00
  • 0d41b1e689
    Merge pull request #7 from ikatson/revamp-cli Igor Katson 2021-10-22 21:01:48 +01:00
  • a8efcfdd26 Completely change the CLI so that we have a server and a client. Igor Katson 2021-10-22 08:03:04 +01:00
  • b834bb20b3 Add an option to override worker threads Igor Katson 2021-10-20 20:17:42 +01:00
  • f0d14ae92b Create http api before adding the first torrent Igor Katson 2021-10-20 16:11:59 +01:00
  • 6aa59ff83c
    Create test.yml Igor Katson 2021-10-19 10:19:23 +01:00
  • a6ebe58798 Rename "release" workflow Igor Katson 2021-10-19 10:17:09 +01:00
  • e925ebdd9c Add github actions to compile a release for all platforms. Igor Katson 2021-10-18 16:39:54 +01:00
  • b2fb4729c7 Fix or disable all failing tests. Fix all cargo clippy warnings Igor Katson 2021-10-18 16:38:43 +01:00
  • 3a64254971 Fix a couple bugs. Igor Katson 2021-10-18 16:07:30 +01:00
  • f739c99dc0 Update readme Igor Katson 2021-10-18 13:11:45 +01:00
  • d14d29b688 Update to cross-compile with openssl on linux Igor Katson 2021-10-18 12:59:51 +01:00
  • 0cefaf6b10 Update README Igor Katson 2021-10-17 18:27:07 +01:00
  • 27145c758c Add scripts to build for x86_64 linux too Igor Katson 2021-10-17 18:17:50 +01:00
  • 60b7d4a531 Add a command to Makefile to cross-compile on osx (release-all) Igor Katson 2021-10-17 13:50:46 +01:00
  • 287b21f63b Update version to 1.1.0 Igor Katson 2021-10-17 13:24:52 +01:00
  • f02dcd783f Cargo update Igor Katson 2021-10-17 13:20:52 +01:00
  • ebfc20c291 Changed default sha1 to crypto_hash. Igor Katson 2021-10-17 12:03:21 +01:00
  • cbd47c7ba6
    Merge pull request #3 from ikatson/multi-torrent Igor Katson 2021-10-16 14:27:56 +01:00
  • 5de63af783 Prioritize last piece. Dont ask me why :) Igor Katson 2021-10-16 13:18:25 +01:00
  • 6bd518676d Truncate files at the start to required length Igor Katson 2021-10-16 12:51:17 +01:00
  • a1c9fda32f Speed computation now better fits torrent with large pieces Igor Katson 2021-10-16 00:13:58 +01:00
  • d51acba9be Fix a bug in DHT that caused panics sometimes Igor Katson 2021-10-10 10:45:58 +01:00
  • 3b8c4e053f Speed computation now better fits torrent with large pieces Igor Katson 2021-10-16 00:13:58 +01:00
  • d0757d41c5 Print stats for each managed torrent now Igor Katson 2021-10-10 11:52:21 +01:00
  • 218aa4d9ee Safety note Igor Katson 2021-10-10 11:43:44 +01:00
  • 9b73a8ff2f Add "overwrite=true" option to torrent add API Igor Katson 2021-10-10 11:39:25 +01:00
  • b1df9af3f6 Cargo check / fmt fixes Igor Katson 2021-10-10 11:00:04 +01:00
  • 99208800f4 Initial check to use block_in_place Igor Katson 2021-10-10 10:58:09 +01:00
  • 2ac76683e6 Now actually downloads 2 files at a time Igor Katson 2021-10-10 10:46:09 +01:00
  • ba87529419 Fix a bug in DHT that caused panics sometimes Igor Katson 2021-10-10 10:45:58 +01:00
  • 64900e1fd4 Add API to add a torrent Igor Katson 2021-10-10 09:57:21 +01:00
  • 6e9e79a02e Move stats printing to main Igor Katson 2021-10-09 16:49:55 +01:00
  • 1667efdaa7 Start refactoring code to support running in background and adding multiple torrents Igor Katson 2021-10-09 15:03:42 +01:00
  • 6f2121e33f Update crate version to 1.0.0 Igor Katson 2021-10-08 23:57:17 +01:00
  • e97377e239 Add --disable-dht-persistence option to run multiple rqbit instances Igor Katson 2021-10-08 23:54:51 +01:00
  • 18b99c91a1 Update default peer TCP connect timeout to 10s Igor Katson 2021-10-08 23:54:26 +01:00
  • f2c509359f Print download speed Igor Katson 2021-10-02 09:58:57 +01:00
  • 1bcc16c327 Another attempt to make it possible to build without openssl. Igor Katson 2021-09-30 09:00:40 +01:00
  • f40a227459 Propagte sha1 subcrate features all the way to rqbit CLI Igor Katson 2021-09-30 00:04:31 +01:00
  • a6a785640f Better error message when listening on DHT Igor Katson 2021-09-29 19:15:04 +01:00
  • bca55891c1 Wrap reading files into block_in_place Igor Katson 2021-09-29 19:10:32 +01:00
  • f845eafca4 Update README Igor Katson 2021-09-29 16:41:55 +01:00
  • 19a606e465 Add LICENSE and README Igor Katson 2021-09-29 15:25:47 +01:00
  • 7e0d0ae3df Add LICENSE and README Igor Katson 2021-09-29 15:16:18 +01:00
  • b301b159da Fix a bug Igor Katson 2021-07-31 13:13:04 +01:00
  • 175d5c7a97 API refactor Igor Katson 2021-07-19 09:04:25 +01:00
  • 5fd218d456 Nothing Igor Katson 2021-07-18 16:56:47 +01:00
  • 49cb6f9d65 Nothing much Igor Katson 2021-07-18 15:53:23 +01:00
  • 1300faa0b4 Persistent DHT Igor Katson 2021-07-18 10:53:33 +01:00
  • 52f17a1717 Routing table serialize / optimzie Igor Katson 2021-07-17 14:45:18 +01:00
  • 24c38b1de1 Saving Igor Katson 2021-07-16 15:40:04 +01:00
  • ff2f74594a Reimplement routing table as a vector Igor Katson 2021-07-16 14:49:36 +01:00
  • bd0df49591 Nothing, small cleanups Igor Katson 2021-07-16 13:58:10 +01:00
  • ca11caf902 nothing Igor Katson 2021-07-14 18:09:12 +01:00
  • 1f899b63a6 Almost nothing Igor Katson 2021-07-14 15:50:40 +01:00
  • 3a9a858438 Peer stream is more efficient Igor Katson 2021-07-14 15:29:59 +01:00
  • 9340c231ba DHT broadcast lagging... Igor Katson 2021-07-14 14:03:42 +01:00
  • 65d2e5b87f Nothing Igor Katson 2021-07-14 13:42:42 +01:00
  • 98dff76c40 DHT stats in HTTP API Igor Katson 2021-07-14 13:40:56 +01:00
  • f00f522767 Optimize peers a bit Igor Katson 2021-07-14 13:16:01 +01:00
  • 32789f3c8c Dumping routing table to JSON. Wow Igor Katson 2021-07-14 01:16:47 +01:00
  • ca25bac486 Dumping routing table to JSON. Wow Igor Katson 2021-07-14 01:03:39 +01:00
  • fe4dcb226f DHT stats Igor Katson 2021-07-14 00:48:53 +01:00
  • 4e31eb6547 Nothing Igor Katson 2021-07-14 00:06:09 +01:00
  • 9ce76d317b Actually send back peers Igor Katson 2021-07-13 18:27:32 +01:00
  • 7e4ed79863 Nothing Igor Katson 2021-07-13 16:59:31 +01:00
  • 1b5e565aff Nothing Igor Katson 2021-07-13 16:28:53 +01:00
  • ace11186ef Refactor DHT a bit Igor Katson 2021-07-13 16:10:36 +01:00
  • 48f4c0a8b7 Nothing Igor Katson 2021-07-13 15:11:08 +01:00
  • 9e3e3a27ff Nothing much Igor Katson 2021-07-13 14:59:44 +01:00
  • d121efd4f4 Add option to disable DHT Igor Katson 2021-07-13 14:02:47 +01:00
  • 1cd6caee76 Fix bugs Igor Katson 2021-07-13 13:16:59 +01:00