summaryrefslogtreecommitdiff
path: root/net.c
AgeCommit message (Collapse)Author
2023-07-09Gracefully shut down server when interrupted with Ctrl+Ccflip
2023-06-06Ignore SIGPIPE signals when writing to a closed socketcflip
2023-05-30Move request handling code out of net.c and into the main filecflip
2023-05-30Refactor response building codecflip
This new strategy involves finding the local file path for the given URI, determining what method to use to fulfill the request (read file from disk, use php-cgi, or error), then it writes the response to the client socket.
2023-05-29Hacks to make it possible to serve PHP pagescflip
The most significant change is that the functions for reading a file and such write directly to the socket instead of attempting to fill buffers.
2023-05-27Split cfws.c into multiple filescflip