Commit Graph

64 Commits

Author SHA1 Message Date
Nayan
db0a3679d8 update checklist formatting for github 2025-05-09 13:39:28 -04:00
Nayan
b6db380053 add note about installing build-essential 2025-05-09 13:37:22 -04:00
Nayan
94b78f5e3f add note about stopping the server and known css firefox issue 2025-05-09 13:32:10 -04:00
Nayan
b74a11d5cd keep logs directory in git 2025-05-09 13:12:06 -04:00
Nayan
cad0cc4e6c forgot to add my makefile source 2025-05-09 13:06:47 -04:00
Nayan
38793e8a57 update readme with docker instructions 2025-05-09 13:04:23 -04:00
Nayan
7073224598 disable debug level logs on make release 2025-05-09 12:57:47 -04:00
Nayan
ce4cf5f5cc add dockerfile and compose file to containerize app 2025-05-09 12:57:26 -04:00
Nayan
8aded40c90 add detached state to thread creation 2025-05-09 12:32:21 -04:00
Nayan
4445224525 fix log print overflow in add header 2025-05-09 12:32:03 -04:00
Nayan
1ea56268f9 add git clone step to readme 2025-05-08 22:58:34 -04:00
Nayan
69be549373 update readme leak section 2025-05-08 22:57:01 -04:00
Nayan
613e87ad86 fix memory leaks and unecessary newlines in logs 2025-05-08 22:51:56 -04:00
Nayan
63a016cf36 restructure readme file 2025-05-08 22:34:52 -04:00
Nayan
f060c35f7d add file comments 2025-05-08 22:34:36 -04:00
Nayan
51fe7e1c8d add function comments 2025-05-08 21:31:43 -04:00
Nayan
b52ce7dd0c add some debug logs 2025-05-08 21:25:26 -04:00
Nayan
e956ef0681 switched over to logging 2025-05-08 21:23:07 -04:00
Nayan
6468cc8d55 add logging code and get it setup 2025-05-08 20:56:24 -04:00
Nayan
6a17569284 update readme and actually add responses to non-GET requests 2025-05-08 20:07:08 -04:00
Nayan
8d60863be3 update readme with progress 2025-05-08 19:41:11 -04:00
Nayan
e1e4d728b5 enable additional file types and add demo files 2025-05-08 19:30:21 -04:00
Nayan
4e8e22ec61 changes to send headers and body separately which fixes images not sending 2025-05-08 18:32:40 -04:00
Nayan
b12cfd2c17 fix string and pointer bugs to actually send 404 2025-05-08 17:37:23 -04:00
Nayan
ddf6f8812f fix argument mismatches between header and c files 2025-05-08 17:13:03 -04:00
Nayan
451df18af9 add response builder to makefile 2025-05-08 17:12:44 -04:00
Nayan
3426a8cdf5 Fix reponse to string not including content length 2025-05-08 17:05:05 -04:00
Nayan
779f97ddbb update request handler to use response builder 2025-05-08 17:04:45 -04:00
Nayan
1a74c87c53 implement basic response builder 2025-05-08 17:04:32 -04:00
Nayan
8a920d799c add default html files 2025-05-08 17:01:37 -04:00
Nayan
3af8abd476 update readme 2025-05-08 00:11:51 -04:00
Nayan
8e2871d809 add files for building responses 2025-05-08 00:10:28 -04:00
Nayan
df3efbaf9a add enum for request method for easy switch statements 2025-05-08 00:09:38 -04:00
Nayan
8c3974aad2 fix compiler warnings for webserver 2025-05-07 23:50:41 -04:00
Nayan
0da5c2feb4 rewrite makefile to handle all the files with pattern matching 2025-05-07 23:47:21 -04:00
Nayan
449d9deacc update readme with progress and remove debug statements from request handler 2025-05-07 23:32:55 -04:00
Nayan
54d6d06144 add body extraction and clean up and fix http stuff, in particular add auto_fill content metadata from headers 2025-05-07 23:15:54 -04:00
Nayan
b05595d6a5 clean up request_handler 2025-05-07 22:57:12 -04:00
Nayan
9252f07aa1 fix debug issue (it was a build issue) 2025-05-07 22:55:15 -04:00
Nayan
52b6dd9b17 add debug stuff 2025-05-07 22:36:08 -04:00
Nayan
a419e6436d add debug print and fix double free of content type 2025-05-07 22:35:55 -04:00
Nayan
c62c63d325 fix invalid pointer free 2025-05-07 22:34:24 -04:00
Nayan
d25b2d0656 separate http parsing into separate function and integrate http_stuff 2025-05-07 18:39:31 -04:00
Nayan
9013039d79 add http stuff to makefile 2025-05-07 18:38:47 -04:00
Nayan
70d930c89f add add header function 2025-05-07 18:38:36 -04:00
Nayan
77a7fa11c8 make print functions null safe 2025-05-07 18:14:45 -04:00
Nayan
6d5f3a5c34 move http structs to new file and write struct handler functions 2025-05-07 18:06:14 -04:00
Nayan
2739b3ae95 start working on proper HTTP parser 2025-05-06 17:54:28 -04:00
Nayan
77ce9bca8b allow use of busy port when debugging 2025-05-06 17:21:42 -04:00
Nayan
4362eccd92 add comments to client handler 2025-05-06 16:57:50 -04:00