jcs
/detritus
/amendments
/request.c
Amendments on December 12, 2024
jcs made amendment
55
about 1 year ago
Amendments on November 21, 2024
request: Do callback one more time after connection closes
With tcp_done_reading set, the caller can use it to know when there
is definitely no more data coming.
Amendments on November 15, 2024
request: Rewrite parse_uri, add URI.query, loop request_data_shuffle
Looping through the idle handler for every back-and-forth is slow,
so loop tightly until we detect any mouse or keyboard input from the
user wanting to stop.
Amendments on November 11, 2024
http: Add HTTP(s) module
For now this just downloads files that aren't text/plain or
text/markdown but the Markdown parsing isn't implemented yet.
Also stop having every handler re-parse the URI, just parse it once
and ask the handler if it wants it.
*: Shuffle things around yet again
Now TCP and TLS connections use the same callbacks so a module
doesn't have to do different things for plaintext or TLS.
Also reduce the amount of non-protocol-specific logic that has to be
in each protocol module and reduce duplication.
Amendments on November 8, 2024
jcs made amendment
27
about 1 year ago
Amendments on November 6, 2024
jcs made amendment
26
about 1 year ago
1