AmendHub

jcs

/

detritus

/

amendments

/

request.c

Amendments on December 12, 2024

request: Add gopher port

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.
jcs made amendment 46 about 1 year ago

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.
jcs made amendment 35 about 1 year ago

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.
jcs made amendment 32 about 1 year ago

*: 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.
jcs made amendment 30 about 1 year ago

Amendments on November 8, 2024

request: protocol->scheme

jcs made amendment 27 about 1 year ago

Amendments on November 6, 2024

*: Abstract TCP and TLS ops to request.c

jcs made amendment 26 about 1 year ago