Merge pull request #74 from greatest-ape/work-2020-05-10

Update dependencies, update TODO
This commit is contained in:
Joakim Frostegård 2022-05-10 23:34:59 +02:00 committed by GitHub
commit 49fc03cda0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 210 additions and 276 deletions

473
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -21,10 +21,17 @@
* aquatic_ws
* remove peer from all torrent maps when connection is closed
* store `Vec<InfoHash>` in ConnectionReference, containing all used
info hashes. When connection is closed, send
InMessage::ConnectionClosed or similar to request workers.
Storing PeerId in ConnectionReference will also be necessary, as
well as making sure clients only use a single one. Alternatively,
a HashMap<PeerId, Vec<InfoHash>> can be used for storage.
* RES memory still high after traffic stops, even if torrent maps and connection slabs go down to 0 len and capacity
* replacing indexmap_amortized / simd_json with equivalents doesn't help
* SinkExt::send maybe doesn't wake up properly?
* related to https://github.com/sdroege/async-tungstenite/blob/master/src/compat.rs#L18 ?
* Consider using simd-json known-key feature
* aquatic_http_private
* Consider not setting Content-type: text/plain for responses and send vec as default octet stream instead

View file

@ -37,4 +37,4 @@ toml = "0.5"
glommio = { version = "0.7", optional = true }
hwloc = { version = "0.5", optional = true }
rustls = { version = "0.20", optional = true }
rustls-pemfile = { version = "0.3", optional = true }
rustls-pemfile = { version = "1", optional = true }

View file

@ -35,7 +35,7 @@ memchr = "2"
privdrop = "0.5"
once_cell = "1"
rand = { version = "0.8", features = ["small_rng"] }
rustls-pemfile = "0.3"
rustls-pemfile = "1"
serde = { version = "1", features = ["derive"] }
signal-hook = { version = "0.3" }
slab = "0.4"

View file

@ -34,7 +34,7 @@ mimalloc = { version = "0.1", default-features = false }
privdrop = "0.5"
rand = { version = "0.8", features = ["small_rng"] }
rustls = "0.20"
rustls-pemfile = "0.3"
rustls-pemfile = "1"
serde = { version = "1", features = ["derive"] }
signal-hook = { version = "0.3" }
slab = "0.4"