Commit Graph

  • ffd4ee86cf Remove github workflow master Nate Choe 2024-03-30 04:02:14 -05:00
  • 47f09c3ce2 Change default Accept to */* to conform to RFC 9112 Nate Choe 2024-01-25 22:54:20 -06:00
  • dce50642a0 Merge build and run in dockerfile Nate Choe 2023-09-28 01:33:10 -05:00
  • 8c6b4b9f76 Proper connection timeouts Nate Choe 2022-08-26 06:06:07 -05:00
  • 3cb29c6b76 Fixed sendKnownPipeValist() Nate Choe 2022-08-16 15:55:07 -05:00
  • df9484283e Fixed tokenization (again) Nate Choe 2022-07-31 00:32:22 -05:00
  • 92eda6f326 Rewrote connection list code Nate Choe 2022-07-30 20:33:52 -05:00
  • 06c6faed73 Change HTML tag in example site Nate Choe 2022-07-28 14:12:36 -05:00
  • 4630000b9f Rewrote sitefile parsing Nate Choe 2022-07-28 14:11:45 -05:00
  • 52df580ccb Fixed tokenization Nate Choe 2022-07-25 05:08:33 -05:00
  • 36d2fefa3b Rewrote tokenization code Nate Choe 2022-07-25 04:08:43 -05:00
  • 6b2e112f3b Proper TLS error handling Nate Choe 2022-07-19 16:41:52 -05:00
  • 8c2f8441d1 Removed space after comma in Accept headers Nate Choe 2022-07-13 08:26:49 -05:00
  • d7a724b815 Content encoding with libraries Nate Choe 2022-07-13 08:10:18 -05:00
  • c289690877 Accept and Content-Type headers Nate Choe 2022-07-13 07:57:30 -05:00
  • 45aa67062f HTTP/1.0 works now Nate Choe 2022-07-13 01:49:05 -05:00
  • 94220166ad Fixed connection removal again Nate Choe 2022-07-10 05:01:08 -05:00
  • 9d17ad73fe Fixed connection removal Nate Choe 2022-07-10 04:43:49 -05:00
  • 2e69b3126d Added gdb to CFLAGS Nate Choe 2022-07-10 03:52:52 -05:00
  • b3500ad90b Sent port index with the message Nate Choe 2022-07-04 12:01:46 -05:00
  • 23be8915d6 Added volatile keyword Nate Choe 2022-07-03 23:02:53 -05:00
  • 8ecd79ff40 More logging Nate Choe 2022-07-03 22:11:21 -05:00
  • 111046e5d4 Sanity checking Nate Choe 2022-07-03 21:38:03 -05:00
  • 09ae86a89b Extra logging Nate Choe 2022-07-02 13:45:39 -05:00
  • ddd62990b3 Removed double free, improved error checking Nate Choe 2022-07-02 12:12:22 -05:00
  • 6db24d8ab6 Increased resilience and added some more logging Nate Choe 2022-07-02 08:17:15 -05:00
  • ad88090956 Fixed memory leak, freed things properly, and rearranged some things Nate Choe 2022-07-01 08:48:05 -05:00
  • d843ffab93 Fixed multiple port support and improved it Nate Choe 2022-06-28 07:57:15 -05:00
  • 47cf044858 Multiple port support Nate Choe 2022-06-21 23:34:13 -05:00
  • dc044b22e3 Fix previous commit Nate Choe 2022-06-15 15:15:51 -05:00
  • b67bfbc98f Copy include files to run docker image Nate Choe 2022-06-15 15:07:36 -05:00
  • 778c09ce5a Updated documentation Nate Choe 2022-06-15 14:39:35 -05:00
  • 103faac820 Added new dynamic mode Nate Choe 2022-06-15 14:38:30 -05:00
  • 936081ddb5 Moved seteuid Nate Choe 2022-06-01 09:24:56 +00:00
  • f8a7584a13 Properly handled signals Nate Choe 2022-06-01 08:40:52 +00:00
  • 0a177b6d91 Added docker-compose file Nate Choe 2022-04-11 01:56:49 -05:00
  • 8914e57eec Improved signal handling, removed tmpnam() Nate Choe 2022-04-05 11:59:14 -05:00
  • 00bbd9c1d4 Added docker Nate Choe 2022-04-04 12:19:39 -05:00
  • 8dd0e6a06c Properly shut down connections Nate Choe 2022-04-03 22:58:17 -05:00
  • 71482861ae Fixed frequent segfault with children Nate Choe 2022-04-03 20:42:13 -05:00
  • 12281a030d Reworked sockets library Nate Choe 2022-04-03 12:04:32 -05:00
  • 88d52ca830 Add copyright notice to setup.c Nate Choe 2022-04-02 09:00:51 -05:00
  • 25c0505bf5 Got it working for http Nate Choe 2022-04-01 19:58:50 -05:00
  • 26c0eaca15 Code reorganization Nate Choe 2022-03-30 17:39:55 -05:00
  • 266a087655 Removed C99 stdint Nate Choe 2022-03-21 13:30:59 -05:00
  • e60747a9f8 Removed dangerous exits Nate Choe 2022-02-27 22:56:44 -06:00
  • 9b5985940c Actually removed connections when they are made Nate Choe 2022-02-22 04:29:05 -06:00
  • 4366c8ad65 Added url variables, removed exec pages Nate Choe 2022-02-20 21:43:19 -06:00
  • 458c0a545d Documented the linked command Nate Choe 2022-02-17 12:01:29 -06:00
  • 5d72859eff Fixed install headers Nate Choe 2022-02-17 11:55:50 -06:00
  • 49adfea0db Minor logic change Nate Choe 2022-02-16 23:33:14 -06:00
  • f79105f621 Added more logging Nate Choe 2022-02-16 23:20:29 -06:00
  • c67dd38bf1 Minor bug fixes Nate Choe 2022-02-16 23:13:21 -06:00
  • 978a6cbfd7 Fixed Makefile Nate Choe 2022-02-15 16:48:17 -06:00
  • 8d1650299a Moved signal() Nate Choe 2022-02-15 16:45:16 -06:00
  • ce6bc14fa5 Added more information towards dynamic pages Nate Choe 2022-02-14 17:26:47 -06:00
  • e1fd93f5ab Fixed SIGPIPE Nate Choe 2022-02-14 17:09:57 -06:00
  • 92a000f474 Added more information to dynamic pages Nate Choe 2022-02-14 12:14:55 -06:00
  • 6825f12163 Added dynamic pages with dynamic linking during runtime Nate Choe 2022-02-14 12:08:09 -06:00
  • 8df741a078 Removed superfluous commits Nate Choe 2022-02-14 02:46:33 -06:00
  • 2105f00965 Reorganized responseutil.c and made the entire program ANSI and POSIX compliant Nate Choe 2022-02-13 22:54:19 -06:00
  • b91bb8614d Changed how execResposnes work Nate Choe 2022-02-10 09:43:23 -06:00
  • e5967f7ead Added the ability to throw an error Nate Choe 2022-02-10 09:30:54 -06:00
  • 8ae835510e Added daemonization Nate Choe 2022-02-04 02:13:26 -06:00
  • 20771a0bdd Fixed dynamic pages Nate Choe 2022-01-31 22:46:40 -06:00
  • 7c7460d37f Added dynamic pages Nate Choe 2022-01-31 22:35:46 -06:00
  • 1086edf6d0 Removed printf root 2022-01-30 23:29:06 -06:00
  • 9f39edd186 Fixed a bug with CPU usage root 2022-01-30 23:27:49 -06:00
  • e1a66999b6 Added error checking with sending responses Nate Choe 2022-01-30 21:37:47 -06:00
  • efd1ac1a0c Fixed a bug where the entire thing just didn't work at all Nate Choe 2022-01-30 21:26:12 -06:00
  • 1955176e1a Fixed makefile Nate Choe 2022-01-30 21:07:09 -06:00
  • ffd41ceab7 Minor bugfixes Nate Choe 2022-01-30 18:02:25 -06:00
  • 1888bb9518 Actually used the SEND_RESPONSE phase Nate Choe 2022-01-30 17:57:20 -06:00
  • f3694d3b43 Changed user for security Nate Choe 2022-01-30 12:56:05 -06:00
  • 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) Nate Choe 2022-01-30 12:43:10 -06:00
  • e4fe179480 Fixed some problems with directory pages Nate Choe 2022-01-30 12:07:36 -06:00
  • 5a6c38c680 Improved regexes Nate Choe 2022-01-30 11:45:48 -06:00
  • bdac013f91 Removed openssl include Nate Choe 2022-01-30 00:28:24 -06:00
  • ab2e28ed10 Added timeouts and checked for POLLRDHUP events Nate Choe 2022-01-29 16:37:54 -06:00
  • c46ed581c3 Added global variables in sitefiles to allow for https support Nate Choe 2022-01-29 13:21:35 -06:00
  • db645b0bf5 Implemented hostnames Nate Choe 2022-01-26 06:04:43 -06:00
  • d16cc39f1e Added mode modularization Nate Choe 2022-01-26 03:46:14 -06:00
  • f813007e89 Created an example Nate Choe 2022-01-25 05:28:24 -06:00
  • 6bbfb59d34 Fixed ridiculous CPU usage Nate Choe 2022-01-25 05:10:04 -06:00
  • 96794b2696 Fixed multiple connections Nate Choe 2022-01-22 22:19:25 -06:00
  • 4f109e271c Removed printf Nate Choe 2022-01-22 21:23:46 -06:00
  • be8e081cca Implemented regex and directories Nate Choe 2022-01-22 21:20:57 -06:00
  • fbb3a4e8cd Fixed resetConnection() Nate Choe 2022-01-22 20:22:22 -06:00
  • ad06bbc7be Implemented responses Nate Choe 2022-01-22 19:54:03 -06:00
  • 55da97269b Improved sitefiles Nate Choe 2022-01-22 03:55:44 -06:00
  • ad64e4ecb2 Initial commit Nate Choe 2022-01-22 02:44:45 -06:00