Joakim Frostegård
|
71c070cf98
|
Update TODO
|
2022-04-04 12:07:34 +02:00 |
|
Joakim Frostegård
|
61569d0f31
|
http_protocol: remove charset=utf-8 from response content type
We send bencode bytes. They should possibly not be sent as text at all
|
2022-04-04 12:06:27 +02:00 |
|
Joakim Frostegård
|
5da1c304a3
|
http_protocol: fix ScrapeRequest::write issue
|
2022-04-04 11:57:40 +02:00 |
|
Joakim Frostegård
|
db6f6e027c
|
http_protocol: fix AnnounceResponse::warning_message serialization
|
2022-04-04 11:50:42 +02:00 |
|
Joakim Frostegård
|
68fda1be45
|
http_protocol: fix failing test_announce_request_from_bytes
|
2022-04-04 11:00:25 +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
|
6eb1375e4e
|
http_protocol: skip serializing AnnounceResponse.warning_message if None
|
2022-04-04 10:28:48 +02:00 |
|
Joakim Frostegård
|
92b62e73ca
|
http_protocol: in AnnounceRequest::write, send uploaded & downloaded
|
2022-04-04 10:20:43 +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
|
5e79df8e7e
|
Update TODO
|
2022-04-03 19:52:33 +02:00 |
|
Joakim Frostegård
|
58ac5e7fe8
|
ws: use create_rustls_config from aquatic_common
|
2022-04-03 19:46:05 +02:00 |
|
Joakim Frostegård
|
610057a231
|
http: use create_rustls_config from aquatic_common
|
2022-04-03 19:43:44 +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
|
b2a3c034b0
|
http_protocol: allow announce/scrape url suffix; use in load test
|
2022-04-03 19:17:57 +02:00 |
|
Joakim Frostegård
|
05faa10f4b
|
http load test: on response deserialize failure, print headers too
|
2022-04-03 19:08:20 +02:00 |
|
Joakim Frostegård
|
c21ed97cb2
|
http_private: get tls working
|
2022-04-03 19:07:55 +02:00 |
|
Joakim Frostegård
|
e790727bc0
|
aquatic_common: add feature gated fn create_rustls_config
|
2022-04-03 18:36:37 +02:00 |
|
Joakim Frostegård
|
07bb75c298
|
http load test: add missing AnnounceRequest fields
|
2022-04-03 16:59:01 +02:00 |
|
Joakim Frostegård
|
85d89f53ca
|
Add workspace patch with fix for membarrier compilation error
|
2022-04-03 16:58:57 +02:00 |
|
Joakim Frostegård
|
fa5e609f11
|
http_private: remove connection cleaning config vars
|
2022-04-03 16:49:22 +02:00 |
|
Joakim Frostegård
|
11cba4eb12
|
Add scripts/run-aquatic-http-private.sh
|
2022-04-03 16:31:45 +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
|
44f4474fb2
|
Update TODO
|
2022-04-03 00:56:54 +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
|
7d3ff2e9e6
|
http_protocol: expose write on response subtypes
|
2022-04-02 16:05:54 +02:00 |
|
Joakim Frostegård
|
0fb572556f
|
WIP: http_private: work on channel types
|
2022-04-02 15:43:44 +02:00 |
|
Joakim Frostegård
|
d4a89ee808
|
http_protocol: derive Copy for AnnounceEvent
|
2022-04-02 15:43:28 +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
|
6e97bff93f
|
Update TODO
|
2022-04-02 14:21:44 +02:00 |
|
Joakim Frostegård
|
b54fb7f1db
|
http_protocol: cargo fmt
|
2022-04-02 13:56:13 +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
|
a93789128c
|
http_protocol: add AnnounceRequest uploaded and downloaded fields
|
2022-04-02 13:43:18 +02:00 |
|
Joakim Frostegård
|
dc943674f6
|
work on http_private, including parsing announce requests
|
2022-04-02 13:32:36 +02:00 |
|