Frank Denis

Results 470 comments of Frank Denis

```text ─────────────────██▌─███████▌──────── ─────────────────███─██████████▌───── ───────────────▐─███████████████▌──── ──────────────▐██████████████████▌─── ──────────────▐███████████████████▌── ──────────────▐████████████████████── ──────────────█████████░░░█████████── ─────────────██████░░░▓░░░░▓░░░░███── ────────────▐█████░░░▓░░░░░░░░░░░██── ─────────────▐███░░░█████░░░░███░█▌── ─────────────█████░█░░░░░░█▓░░░░█▌─── ─────────────█████░░░░░░░░░░░░░░░▌─── ─────────────█░███░░░░█░░░░░▐▀▌░░▌─── ────────▄▄▄──█░░█░░░░░█░░░░░▐▄▌░▓▌─── ──────▐█░░░█─█░█░░░░░░░░░█░░░░░░░▌─── ─────▐█░░░░█─▐▄▌▓░░░░░░░░░░░░▓░░░▌─── ─────▐█░░░░█───▐▓░░░▐▄▄▄▄▄▄▄▄░░░█──── ──────▐█░░░█▌───▐▓░░░▐─────▌░░░█▌──── ──▄▄▄▄███░░██────▐▓░░░▀▀▀▀▀░░░█▌───── ─▐██░░████░░█▄▄───██▓░░░░░░░░█▌────── ▐██▓▓▓▓▓▓░░░░▓█▌─█████░░░░░▓██─────── ▐█▓░░░░░░▓░░░░▓▓▌─███████████──────── ▐█▓▓▓▓▓▓▓▓▓░░░█▓█▄▄█████▓▓██───────── ▐█▓░░░░░▓▓░░░░░░░▓▓▓████▓░███──────── ▐█▓▓▓▓▓▓▓▓▓░█░░▓█▓▄██████░░███▄────── ─▐█░░░░░▓▓░██▀▀▀▀▐██████░▄░███▓▌───── ──▀▀▀▀▀▀▀▀▀▀──────█████░░▄░░███▓▌──── ─────────────────▐█████░░▄░░██▓░▓▌─── ─────────────────▐█████░░▄░░███░▓▌───...

It doesn't work on .NET standard? /cc @BurningEnlightenment

Also: https://github.com/bfriesen/LibsodiumDotNetStandardSpike /cc @bfriesen

libsodium also requires 64 bytes for the secret key (`sk` in your example - it includes a copy of the public key in addition to the actual secret key).

libsodium has this code since... well... pretty much since Samuel wrote it :)

[futures-await](https://github.com/alexcrichton/futures-await) goes in this direction.

Also: https://github.com/rust-lang/rfcs/pull/2033

In C, I would indeed `close()` the oldest descriptor right after an `accept()`.

Indeed, `close()` and `shutdown()` do wake up coroutines. #22 seems indeed to be the only way to handle this. Dropping new connections makes servers trivially vulnerable to DoS attacks, while...