Joakim Frostegård
|
fcf18c845f
|
Reduce ValidUntil size; reduce size of various ws structs
|
2022-08-01 14:15:06 +02:00 |
|
Joakim Frostegård
|
05f5d2a2a4
|
http_private: update sqlx to v0.6
|
2022-07-19 17:50:38 +02:00 |
|
Joakim Frostegård
|
cedf0b61ca
|
Exit with error message on unrecognized config keys
|
2022-07-05 11:26:46 +02:00 |
|
Joakim Frostegård
|
c89406179b
|
http, http_private: rename request workers to swarm workers
|
2022-07-04 11:52:51 +02:00 |
|
Joakim Frostegård
|
c229872134
|
Use idiomatic feature names & namespace support from Rust 1.60
|
2022-04-10 01:25:03 +02:00 |
|
Joakim Frostegård
|
5fb91ccc73
|
http_private: db_connections_per_worker: add comment, default to 4
|
2022-04-06 19:09:46 +02:00 |
|
Joakim Frostegård
|
bd6764afaf
|
Move aquatic_cli_helpers code into aquatic_common and remove crate
|
2022-04-06 19:02:39 +02:00 |
|
Joakim Frostegård
|
87bfec5e55
|
http_private: use PrivilegeDropper
|
2022-04-06 18:51:56 +02:00 |
|
Joakim Frostegård
|
a4c7e79dc9
|
http_private: use PanicSentinel
|
2022-04-06 18:48:23 +02:00 |
|
Joakim Frostegård
|
e96dd55c5d
|
http_private: use BINARY(20) for p_peer_id
|
2022-04-04 13:04:59 +02:00 |
|
Joakim Frostegård
|
4b456cc668
|
http_private: add some Cargo.toml fields
|
2022-04-04 12:55:19 +02:00 |
|
Joakim Frostegård
|
292ba6f741
|
Bump aquatic_http_private version to 0.2.0 to match other crates
|
2022-04-04 12:53:26 +02:00 |
|
Joakim Frostegård
|
9731791540
|
Remove old nested .gitignore and Cargo.lock files
|
2022-04-04 12:52:50 +02:00 |
|
Joakim Frostegård
|
c18a59b0cb
|
Use proper workspace path declarations, remove workspace patch section
|
2022-04-04 12:46:42 +02:00 |
|
Joakim Frostegård
|
fc159aa0a0
|
http_private: make call_announce_procedure cleaner
|
2022-04-04 10:55:24 +02:00 |
|
Joakim Frostegård
|
4d7ea257b8
|
http_private: do less separate queries when calling stored procedure
|
2022-04-04 10:47:49 +02:00 |
|
Joakim Frostegård
|
b604bd4b0a
|
http_private: remove AnnounceProcedureParameters struct
|
2022-04-04 10:42:09 +02:00 |
|
Joakim Frostegård
|
1cdd5bde5b
|
http_private: stored procedure: use VARBINARY(20) for peer_id
|
2022-04-04 10:17:47 +02:00 |
|
Joakim Frostegård
|
9fd1306b2e
|
Update http_private README
|
2022-04-04 10:04:21 +02:00 |
|
Joakim Frostegård
|
77c83d21a8
|
Update aquatic_http_private/README.md
|
2022-04-03 20:31:57 +02:00 |
|
Joakim Frostegård
|
98e7e5cc13
|
http_protocol: implement axum IntoResponse, use in http_private
|
2022-04-03 20:20:51 +02:00 |
|
Joakim Frostegård
|
bf4b32748b
|
http_private: add keep_alive options
|
2022-04-03 19:30:43 +02:00 |
|
Joakim Frostegård
|
26cd34f10a
|
http_private: add config field db_connections_per_worker
|
2022-04-03 19:20:17 +02:00 |
|
Joakim Frostegård
|
c21ed97cb2
|
http_private: get tls working
|
2022-04-03 19:07:55 +02:00 |
|
Joakim Frostegård
|
fa5e609f11
|
http_private: remove connection cleaning config vars
|
2022-04-03 16:49:22 +02:00 |
|
Joakim Frostegård
|
eeaae29fa8
|
http_private: handle announce requests in request worker
|
2022-04-03 16:26:41 +02:00 |
|
Joakim Frostegård
|
e228f5a4c2
|
http_private: make TorrentMap cleaning logic more readable
|
2022-04-03 01:44:29 +02:00 |
|
Joakim Frostegård
|
1b2009ba60
|
http_private: do more work on request worker
|
2022-04-03 01:42:46 +02:00 |
|
Joakim Frostegård
|
f1e81a5288
|
http_private: increase response byte vector capacities
|
2022-04-03 01:09:42 +02:00 |
|
Joakim Frostegård
|
70d79b1871
|
http: add AnnounceResponse.warning_message; set in http_private
|
2022-04-03 01:07:38 +02:00 |
|
Joakim Frostegård
|
4154cc3c2a
|
http_private: change url format to /announce/:user_token/
|
2022-04-03 00:53:14 +02:00 |
|
Joakim Frostegård
|
c424ffb077
|
http_private: move all code in workers::common to common
|
2022-04-03 00:51:07 +02:00 |
|
Joakim Frostegård
|
8478a2b052
|
http_private: handle lacking DATABASE_URL env var better
|
2022-04-03 00:45:23 +02:00 |
|
Joakim Frostegård
|
30d06937fc
|
http_private: disable keep_alive
|
2022-04-03 00:43:38 +02:00 |
|
Joakim Frostegård
|
5d4f30bb7b
|
http_private: use CanonicalSocketAddr when calling DB
|
2022-04-03 00:39:06 +02:00 |
|
Joakim Frostegård
|
96e128bb90
|
http_private: get basic announce route working
|
2022-04-03 00:36:35 +02:00 |
|
Joakim Frostegård
|
b0f89edd30
|
http_private: more work on announce route and channels
|
2022-04-02 16:06:16 +02:00 |
|
Joakim Frostegård
|
0fb572556f
|
WIP: http_private: work on channel types
|
2022-04-02 15:43:44 +02:00 |
|
Joakim Frostegård
|
088daa72ff
|
http_private: add config, launch with cli helpers
|
2022-04-02 14:35:40 +02:00 |
|
Joakim Frostegård
|
4091f51bd8
|
http_private: add p_left, make BIGINTs UNSIGNED
|
2022-04-02 13:55:10 +02:00 |
|
Joakim Frostegård
|
82cad25fa8
|
http_private: set announce request uploaded & downloaded
|
2022-04-02 13:44:49 +02:00 |
|
Joakim Frostegård
|
dc943674f6
|
work on http_private, including parsing announce requests
|
2022-04-02 13:32:36 +02:00 |
|
Joakim Frostegård
|
11829f98eb
|
WIP: start work on aquatic_http_private
|
2022-04-02 12:31:06 +02:00 |
|