summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-03-26Add doc comments for printInfoHEADmasterzachir
2024-03-26Add more clarifying commentszachir
2024-03-26Remove two unnecessary variableszachir
Removing the entire body []u8 and the whole_number usize, as both of these are actually unnecessary.
2024-03-26Expand all modules to std.*zachir
This is for greater clarity as to what everything is.
2024-03-23Replace GPA with FBAzachir
This replaces the General Purpose Allocator with the Fixed Buffer Allocator, so we don't make any heap reservations, as everything except for server.accept() is a known size (or maximum size) at compile time.
2024-03-23Print some copyright info on server startzachir
2024-03-23Add README.md and LICENSEzachir
zhttpd is (at least for now) licensed under the GPLv2. I may relicense later, we'll see.
2024-03-23Add doc commentszachir
This is to document the functions, constants, and what they do/how they work/how they can fail.
2024-03-23Add better error handling for more status codeszachir
This redoes a lot of the error handling so we can add in more status codes.
2024-03-23Cleanup lineszachir
There were a couple things defined that were never used, this gets rid of them and reorganizes the constants to make things a bit neater.
2024-03-23Use mime as a git submodulezachir
This commit adds the submodule, and changes @include("mime.zig") to refer to the new subdirectory.
2024-03-23Add initial zhttpdzachir
It is functional, however it relies on "mime.zig", which I don't yet know how to link. It also currently only supports error codes 200 and 404. It deserves to be made better, but I'll have to see how to make that happen as I go along.