Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update READMEhare | Runxi Yu | 2025-04-03 | 1 | -2/+4 |
| | |||||
* | Comic Sans | Runxi Yu | 2025-03-16 | 1 | -1/+1 |
| | |||||
* | Handle SIGINT | Runxi Yu | 2025-03-16 | 1 | -1/+10 |
| | |||||
* | Close the static_fs | Runxi Yu | 2025-03-16 | 1 | -0/+1 |
| | |||||
* | Hare branch is master now | Runxi Yu | 2025-03-15 | 1 | -1/+1 |
| | |||||
* | Hare stuff is now in master | Runxi Yu | 2025-03-15 | 1 | -2/+1 |
| | |||||
* | Remove that println | Runxi Yu | 2025-03-15 | 1 | -2/+0 |
| | |||||
* | Add ?branch=hare in the footer | Runxi Yu | 2025-03-15 | 1 | -1/+1 |
| | |||||
* | Generate VERSION from git describe | Runxi Yu | 2025-03-15 | 3 | -4/+10 |
| | |||||
* | Detect static mime type instead of assuming everything's CSS | Runxi Yu | 2025-03-15 | 1 | -1/+11 |
| | |||||
* | Serve static files | Runxi Yu | 2025-03-15 | 2 | -3/+23 |
| | |||||
* | Use abort("unreachable") instead of a random comment | Runxi Yu | 2025-03-15 | 1 | -1/+1 |
| | |||||
* | Remove the "path segments" section in index.htmpl | Runxi Yu | 2025-03-15 | 2 | -8/+2 |
| | |||||
* | Handle invalid URIs by reporting back to the user | Runxi Yu | 2025-03-15 | 1 | -2/+13 |
| | |||||
* | Use HAREFLAGS | Runxi Yu | 2025-03-15 | 1 | -1/+1 |
| | |||||
* | Fix memory leak in segments_from_path again | Runxi Yu | 2025-03-15 | 1 | -4/+2 |
| | | | | | Use freeall on a sub-slice instead of looping; previous behavior also leaks the memory used by the sp slice itself. | ||||
* | Fix indirect memory leak when segments_from_path fails | Runxi Yu | 2025-03-15 | 1 | -4/+13 |
| | |||||
* | Handle all errors from handlereq | Runxi Yu | 2025-03-15 | 1 | -1/+1 |
| | |||||
* | Add basic system path parsing | Runxi Yu | 2025-03-15 | 1 | -0/+23 |
| | |||||
* | Properly start response headers | Runxi Yu | 2025-03-15 | 1 | -4/+26 |
| | |||||
* | Use trailing_slash instead of empty last segment | Runxi Yu | 2025-03-15 | 1 | -0/+9 |
| | |||||
* | Add license headers | Runxi Yu | 2025-03-15 | 2 | -0/+6 |
| | |||||
* | Split the request handler to req.ha | Runxi Yu | 2025-03-15 | 2 | -10/+13 |
| | |||||
* | Use strings::freeall directly instead of wrapping it | Runxi Yu | 2025-03-15 | 2 | -5/+2 |
| | |||||
* | Add the CSS | Runxi Yu | 2025-03-15 | 1 | -0/+410 |
| | |||||
* | Fix free_segments | Runxi Yu | 2025-03-15 | 1 | -3/+1 |
| | |||||
* | Handle all errors from http::serve | Runxi Yu | 2025-03-15 | 1 | -1/+3 |
| | |||||
* | Separate paths into segments | Runxi Yu | 2025-03-15 | 4 | -4/+28 |
| | |||||
* | Add horrible patch needed to make net::uri work | Runxi Yu | 2025-03-15 | 1 | -0/+306 |
| | |||||
* | Remove extra space | Runxi Yu | 2025-03-14 | 1 | -1/+1 |
| | |||||
* | Add {{ " " }} to footer to work around htmpl's whitespace handling | Runxi Yu | 2025-03-14 | 1 | -0/+3 |
| | | | | I need to rework it anyway though | ||||
* | Catch all error types while listening | Runxi Yu | 2025-03-13 | 1 | -1/+1 |
| | |||||
* | Accept --config not --address | Runxi Yu | 2025-03-13 | 1 | -10/+3 |
| | |||||
* | Partially port templates used by the index page | Runxi Yu | 2025-03-13 | 5 | -7/+76 |
| | |||||
* | Note that patches are required on top of hare-http | Runxi Yu | 2025-03-13 | 1 | -2/+4 |
| | |||||
* | Set reuseport and reuseaddr | Runxi Yu | 2025-03-13 | 1 | -3/+4 |
| | |||||
* | Add architecture stuff to the README | Runxi Yu | 2025-03-13 | 1 | -0/+8 |
| | |||||
* | Add basic template rendering | Runxi Yu | 2025-03-13 | 5 | -5/+24 |
| | |||||
* | Begin to use hare-htmpl | Runxi Yu | 2025-03-13 | 2 | -6/+9 |
| | |||||
* | Use for each loops | Runxi Yu | 2025-03-13 | 1 | -2/+1 |
| | |||||
* | Add README and NOTES | Runxi Yu | 2025-03-13 | 2 | -0/+13 |
| | |||||
* | Fix inconsistent capitalization in the error message | Runxi Yu | 2025-03-13 | 1 | -1/+1 |
| | |||||
* | Add a basic HTTP server | Runxi Yu | 2025-03-13 | 3 | -0/+75 |
| | |||||
* | Add LICENSE | Runxi Yu | 2025-03-12 | 1 | -0/+661 |