diff options
| author | eunhhu <[email protected]> | 2026-10-01 09:10:55 +0100 |
|---|---|---|
| committer | eunhhu <[email protected]> | 2026-10-01 09:10:55 +0100 |
| commit | 5f5603ce239dce08ae2ec4b0fa828787b220493c (patch) | |
| tree | 04c77f6202f0de2ac61ccc3d58cdf54e790b9165 /serve/message-json.h | |
| parent | 2128089d94a9a7345775e2725347713a66987039 (diff) | |
| download | pure-5f5603ce239dce08ae2ec4b0fa828787b220493c.tar.gz pure-5f5603ce239dce08ae2ec4b0fa828787b220493c.zip | |
Deliver wires on the sending loop, a step at a time (017, 2b-2)
A wire is now a sender of link/sending.h: its request goes on a
non-blocking socket as far as the socket takes it (connect, TLS
handshake, write, answer read), and its round waits for the socket or
its deadline (10 s with nothing moved). The answer is read as it comes:
the head whole, then a sized body counted down, a chunked one (few and
small) parsed again as it grows, or a body to the close. The crypto
table (version 6) takes the TLS handshake a step at a time, and reads
and writes say what they wait for. The owner pushes a wire once a turn,
as it does a link. A host whose app sends to ten links and ten wires
has 5 threads where it had 24 (none: 3).
Diffstat (limited to 'serve/message-json.h')
0 files changed, 0 insertions, 0 deletions
