aboutsummaryrefslogtreecommitdiffstats
path: root/link/tls.h
Commit message (Collapse)AuthorAgeFilesLines
* Deliver wires on the sending loop, a step at a time (017, 2b-2)eunhhu2026-10-011-3/+12
| | | | | | | | | | | | | 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).
* Put the links and the crypto they use in link/, a part of their owneunhhu2026-09-291-0/+18
libpure-link.a holds them; pure-serve and the M5 harness link it instead of naming its source files.