~sircmpwn/hare-http

Fix status reason strings for STATUS_OK and STATUS_CREATED

Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
Fix leak caused by incomplete parsed_request_finish

request_line_parse returns request.method as a dynamically-allocated
string, which needs to be freed by parsed_request_finish.

Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
server.ha: Allow passing net::tcp::listen_option

This allows for passing things like reuseaddr and reuseport.

Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
server: propagate instead of asserting errors on request_parse

Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
Updates for Hare upstream changes

Functions that require memory allocation may return nomem now.

Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
Signed-off-by: Drew DeVault <drew@ddevault.org>
Initial Makefile

Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
92374487 — Drew DeVault 11 months ago
Updates for Hare upstream changes

Signed-off-by: Drew DeVault <sir@cmpwn.com>
Implement server-side HTTP support

Co-authored-by: Drew DeVault <sir@cmpwn.com>
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
Signed-off-by: Drew DeVault <sir@cmpwn.com>
cfdb9215 — Drew DeVault 1 year, 21 days ago
transport.ha: fix unreachable abort
9d14e365 — Drew DeVault 1 year, 21 days ago
Define new request method constants
a8da6733 — Drew DeVault 1 year, 5 months ago
net::http: implement response cases without body
2acf7fa8 — Drew DeVault 1 year, 5 months ago
net::http: export new_request{,_body}
380d174b — Drew DeVault 1 year, 5 months ago
cmd/http: add headers via getopt
d798088e — Drew DeVault 1 year, 5 months ago
net/http/header.ha: fix assertion
396d6caa — Drew DeVault 1 year, 5 months ago
transport: improve identity transport lifetime
159dd0d0 — Drew DeVault 1 year, 5 months ago
http::do: handle more protoerror cases
dbeb0792 — Drew DeVault 1 year, 5 months ago
Use errors::unsupported if scheme != http(s)
78a5d982 — Drew DeVault 1 year, 5 months ago
net::http::new_request: exhaustive switch
Fix compilation with latest stdlib
c203af3f — Drew DeVault 2 years ago
README: update to latest RFC
Next
Do not follow this link