Commit Graph

24 Commits

Author SHA1 Message Date
root 9f39edd186 Fixed a bug with CPU usage 2022-01-30 23:27:49 -06:00
Nate Choe e1a66999b6 Added error checking with sending responses 2022-01-30 21:37:47 -06:00
Nate Choe efd1ac1a0c Fixed a bug where the entire thing just didn't work at all 2022-01-30 21:26:12 -06:00
Nate Choe 1955176e1a Fixed makefile 2022-01-30 21:07:09 -06:00
Nate Choe ffd41ceab7 Minor bugfixes 2022-01-30 18:02:25 -06:00
Nate Choe 1888bb9518 Actually used the SEND_RESPONSE phase 2022-01-30 17:57:20 -06:00
Nate Choe f3694d3b43 Changed user for security 2022-01-30 12:56:05 -06:00
Nate Choe e05896356f Made sockets nonblocking (I'm a fool who didn't do this and spent several hours trying to figure out why I couldn't handle a second request if firefox was on the page I'm so dumb I hate myself I hate coding I hate the internet computers were a mistake) 2022-01-30 12:43:10 -06:00
Nate Choe e4fe179480 Fixed some problems with directory pages 2022-01-30 12:07:36 -06:00
Nate Choe 5a6c38c680 Improved regexes 2022-01-30 11:45:48 -06:00
Nate Choe bdac013f91 Removed openssl include 2022-01-30 00:28:24 -06:00
Nate Choe ab2e28ed10 Added timeouts and checked for POLLRDHUP events 2022-01-29 16:37:54 -06:00
Nate Choe c46ed581c3 Added global variables in sitefiles to allow for https support 2022-01-29 13:21:35 -06:00
Nate Choe db645b0bf5 Implemented hostnames 2022-01-26 06:04:43 -06:00
Nate Choe d16cc39f1e Added mode modularization 2022-01-26 03:46:14 -06:00
Nate Choe f813007e89 Created an example 2022-01-25 05:28:24 -06:00
Nate Choe 6bbfb59d34 Fixed ridiculous CPU usage 2022-01-25 05:10:04 -06:00
Nate Choe 96794b2696 Fixed multiple connections 2022-01-22 22:19:25 -06:00
Nate Choe 4f109e271c Removed printf 2022-01-22 21:23:46 -06:00
Nate Choe be8e081cca Implemented regex and directories 2022-01-22 21:20:57 -06:00
Nate Choe fbb3a4e8cd Fixed resetConnection() 2022-01-22 20:22:22 -06:00
Nate Choe ad06bbc7be Implemented responses 2022-01-22 19:54:03 -06:00
Nate Choe 55da97269b Improved sitefiles 2022-01-22 03:55:44 -06:00
Nate Choe ad64e4ecb2 Initial commit 2022-01-22 02:44:45 -06:00