aboutsummaryrefslogtreecommitdiff
path: root/main.ha (unfollow)
Commit message (Expand)AuthorFilesLines
2025-03-16Handle SIGINTRunxi Yu1-1/+10
2025-03-16Close the static_fsRunxi Yu1-0/+1
2025-03-15Serve static filesRunxi Yu1-0/+5
2025-03-15Use abort("unreachable") instead of a random commentRunxi Yu1-1/+1
2025-03-15Handle all errors from handlereqRunxi Yu1-1/+1
2025-03-15Split the request handler to req.haRunxi Yu1-10/+0
2025-03-15Use strings::freeall directly instead of wrapping itRunxi Yu1-1/+1
2025-03-15Handle all errors from http::serveRunxi Yu1-1/+3
2025-03-15Separate paths into segmentsRunxi Yu1-2/+5
2025-03-14Remove extra spaceRunxi Yu1-1/+1
2025-03-13Catch all error types while listeningRunxi Yu1-1/+1
2025-03-13Accept --config not --addressRunxi Yu1-10/+3
2025-03-13Set reuseport and reuseaddrRunxi Yu1-3/+4
2025-03-13Add basic template renderingRunxi Yu1-3/+1
2025-03-13Begin to use hare-htmplRunxi Yu1-6/+8
2025-03-13Use for each loopsRunxi Yu1-2/+1
2025-03-13Fix inconsistent capitalization in the error messageRunxi Yu1-1/+1
2025-03-13Add a basic HTTP serverRunxi Yu1-0/+72