1
Fork 0
Commit graph

16 commits

Author SHA1 Message Date
Drew DeVault 9237448725 Updates for Hare upstream changes
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-04-19 11:24:02 +02:00
Drew DeVault a8da673321 net::http: implement response cases without body 2023-10-08 11:24:26 +02:00
Drew DeVault 396d6caa76 transport: improve identity transport lifetime 2023-10-07 12:43:58 +02:00
Drew DeVault 159dd0d06f http::do: handle more protoerror cases 2023-10-07 12:26:10 +02:00
Alexey Yerin 372eb47e4a Fix compilation with latest stdlib 2023-08-31 11:15:49 +02:00
Drew DeVault 5d39543fcf Plumb transport config through to [[do]] 2023-02-12 13:07:05 +01:00
Drew DeVault 0e4277ded9 Improve support riggings for Transfer-Encoding 2023-02-12 11:04:05 +01:00
Drew DeVault 8edf406c52 Drop obsolete comments 2023-02-11 17:19:26 +01:00
Drew DeVault 946c985a02 Rig out transport handling, finish identity reader
New patch will implement more transports, such as chunked and gzip.
2023-02-11 11:31:07 +01:00
Drew DeVault 6b36cfcff5 Improve error handling 2023-02-11 11:03:51 +01:00
Drew DeVault ca93a48b12 Implement HTTP response parsing and reader
TODO: Handle Transfer-Encoding and Content-Length properly
2023-02-10 14:09:28 +01:00
Drew DeVault 1c1de31c1a net::http::do: prepare read buffer 2023-02-10 10:52:15 +01:00
Drew DeVault a567ff4418 net::http::do: remove context struct 2023-02-10 10:34:57 +01:00
Drew DeVault 859c8dc06e net::http::do: place buffer on stack
We can afford 4K of stack space
2023-02-10 10:27:14 +01:00
Drew DeVault 8ccb846c55 net::http::do: assert http
Until we implement TLS
2023-02-10 10:16:18 +01:00
Drew DeVault 26b21689b5 (Partially) implement net::http::do 2023-02-10 10:13:30 +01:00