Joakim Frostegård
|
50647d0774
|
http_protocol: remove axum helpers
|
2023-04-10 00:36:18 +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
|
c990521b92
|
Run cargo fmt
|
2022-04-04 12:49:35 +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
|
db6f6e027c
|
http_protocol: fix AnnounceResponse::warning_message serialization
|
2022-04-04 11:50:42 +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
|
98e7e5cc13
|
http_protocol: implement axum IntoResponse, use in http_private
|
2022-04-03 20:20:51 +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
|
7d3ff2e9e6
|
http_protocol: expose write on response subtypes
|
2022-04-02 16:05:54 +02:00 |
|
Joakim Frostegård
|
2e68155bf4
|
aquatic_http: use Cow<_> for FailureResponse.failure_reason
|
2021-10-16 00:19:58 +02:00 |
|
Joakim Frostegård
|
10fe014c03
|
aquatic_http access list: use in torrent cleaning, do periodic updates
|
2021-10-15 23:03:24 +02:00 |
|
Joakim Frostegård
|
7fec41099b
|
aquatic_http: check access list in announce request handler
|
2021-10-15 22:49:07 +02:00 |
|
Joakim Frostegård
|
d0e716f80b
|
Run rustfmt, clean up aquatic_http_protocol/Cargo.toml
|
2021-08-15 22:26:11 +02:00 |
|
Joakim Frostegård
|
f9626ade57
|
Upgrade quickcheck to 1.0, adjust code, optimizing a slow test
|
2021-02-10 18:36:23 +01:00 |
|
Joakim Frostegård
|
bc5cd90371
|
aquatic http: use serde_bencode for deserialization
bendy seems not to manage lack of trailing newline
|
2020-08-12 04:26:09 +02:00 |
|
Joakim Frostegård
|
e88ecec9c7
|
aquatic http protocol: fix failure response serialization test failure
|
2020-08-02 22:11:55 +02:00 |
|
Joakim Frostegård
|
a18596544f
|
aquatic http protocol: allow non-existing peers in Response
Really, this is to allow missing peers6
|
2020-08-02 10:03:42 +02:00 |
|
Joakim Frostegård
|
fe887e1de5
|
aquatic http protocol: add deserialize impl for responses
|
2020-08-02 09:27:44 +02:00 |
|
Joakim Frostegård
|
9707898a32
|
aquatic_http: remove underscore from "failure_reason"
|
2020-08-02 02:46:52 +02:00 |
|
Joakim Frostegård
|
fd68a5f603
|
aquatic_http: serialize responses to a buffer ref instead of new vec
This improves benchmark performance somewhat and performance
during load testing a bit too.
|
2020-07-24 21:59:23 +02:00 |
|
Joakim Frostegård
|
b01226fddc
|
aquatic http protocol: remove unimplemented Response::from_bytes fn
|
2020-07-21 17:21:32 +02:00 |
|
Joakim Frostegård
|
2521c89109
|
aquatic http protocol: Response::from_bytes: set to unimplemented!()
|
2020-07-20 18:32:07 +02:00 |
|
Joakim Frostegård
|
d1e9d24773
|
WIP: work on http load test (now partly working) and http protocol
|
2020-07-20 14:30:36 +02:00 |
|
Joakim Frostegård
|
4ac2012a2a
|
aquatic_http: move protocol module to new crate aquatic_http_protocol
|
2020-07-19 21:59:31 +02:00 |
|