Age | Commit message (Collapse) | Author | Files | Lines |
|
This changeset replaces the `allocPrint` and `FixedBufferAllocator` with
`bufPrint`, which directly accepts the static buffer.
|
|
Removes the custom thunking for `sendfile(2)` in favor of using the
standard library yscall function and constants. This allows ziggetty to
be portable across architectures. Where available, the 64-bit compatible
`sendfile64(2)` is called.
This changeset also wraps the sendfile implementation to turn
errno-style errors into Zig errors.
|
|
An initial version of ziggetty, the simple (and currently _too_ simple)
HTTP server for static websites.
Ziggetty currently responds to all requests with the contents of
index.html from the current directory. While this is slightly less than ideal,
the basics of a forking server using `sendfile(2)`.
|
|
|