Commit Graph

51 Commits

Author SHA1 Message Date
Nate Choe 12281a030d Reworked sockets library 2022-04-03 12:04:32 -05:00
Nate Choe 88d52ca830 Add copyright notice to setup.c 2022-04-02 09:00:51 -05:00
Nate Choe 25c0505bf5 Got it working for http 2022-04-01 19:58:50 -05:00
Nate Choe 26c0eaca15 Code reorganization 2022-03-30 17:39:55 -05:00
Nate Choe 266a087655 Removed C99 stdint 2022-03-21 13:30:59 -05:00
Nate Choe e60747a9f8 Removed dangerous exits 2022-02-27 22:56:44 -06:00
Nate Choe 9b5985940c Actually removed connections when they are made 2022-02-22 04:29:05 -06:00
Nate Choe 4366c8ad65 Added url variables, removed exec pages 2022-02-20 21:43:19 -06:00
Nate Choe 458c0a545d Documented the linked command 2022-02-17 12:01:29 -06:00
Nate Choe 5d72859eff Fixed install headers 2022-02-17 11:55:50 -06:00
Nate Choe 49adfea0db Minor logic change 2022-02-16 23:33:14 -06:00
Nate Choe f79105f621 Added more logging 2022-02-16 23:20:29 -06:00
Nate Choe c67dd38bf1 Minor bug fixes 2022-02-16 23:13:21 -06:00
Nate Choe 978a6cbfd7 Fixed Makefile 2022-02-15 16:48:17 -06:00
Nate Choe 8d1650299a Moved signal() 2022-02-15 16:45:16 -06:00
Nate Choe ce6bc14fa5 Added more information towards dynamic pages 2022-02-14 17:26:47 -06:00
Nate Choe e1fd93f5ab Fixed SIGPIPE 2022-02-14 17:09:57 -06:00
Nate Choe 92a000f474 Added more information to dynamic pages 2022-02-14 12:14:55 -06:00
Nate Choe 6825f12163 Added dynamic pages with dynamic linking during runtime 2022-02-14 12:08:09 -06:00
Nate Choe 8df741a078 Removed superfluous commits 2022-02-14 02:46:33 -06:00
Nate Choe 2105f00965 Reorganized responseutil.c and made the entire program ANSI and POSIX compliant 2022-02-13 22:54:19 -06:00
Nate Choe b91bb8614d Changed how execResposnes work 2022-02-10 09:43:23 -06:00
Nate Choe e5967f7ead Added the ability to throw an error 2022-02-10 09:30:54 -06:00
Nate Choe 8ae835510e Added daemonization 2022-02-04 02:13:26 -06:00
Nate Choe 20771a0bdd Fixed dynamic pages 2022-01-31 22:46:40 -06:00
Nate Choe 7c7460d37f Added dynamic pages 2022-01-31 22:35:46 -06:00
root 1086edf6d0 Removed printf 2022-01-30 23:29:06 -06:00
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