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 |
|
Nayan
|
26937d4aba
|
return filename to client, and add content length to fix indefinite hang bug
|
2025-05-06 16:57:41 -04:00 |
|
Nayan
|
fef1bbc6f1
|
fully close socket on quit
|
2025-05-06 16:55:09 -04:00 |
|
Nayan
|
ff817b899b
|
add poll to handle user input and web requests at the same time
|
2025-05-06 16:05:06 -04:00 |
|
Nayan
|
d5a8e17f60
|
add request handler for http request and response generation
|
2025-05-06 16:04:39 -04:00 |
|
Nayan
|
bf8bc98d75
|
new direction update to readme
|
2025-05-05 21:38:09 -04:00 |
|
Nayan
|
3f6a2fbd7f
|
parse the filename out from the url of the request
|
2025-05-05 21:24:56 -04:00 |
|
Nayan
|
ec28990794
|
add verify if request is get request
|
2025-05-05 21:01:36 -04:00 |
|
Nayan
|
8473615df5
|
add client handler file and code
|
2025-05-05 20:49:27 -04:00 |
|
Nayan
|
8efb833cca
|
add gitignore and update makefile to ignore artifacts
|
2025-05-05 20:37:53 -04:00 |
|
Nayan
|
417ad87628
|
accept connections
|
2025-05-05 20:36:02 -04:00 |
|
Nayan
|
10e90ff90f
|
set up socket
|
2025-05-05 20:31:54 -04:00 |
|
Nayan
|
d9014718ed
|
add makefile and webserver file
|
2025-05-05 20:22:15 -04:00 |
|
Nayan
|
ecdf8059eb
|
update readme with new plan
|
2025-05-05 20:21:58 -04:00 |
|
Nayan
|
7f583c3815
|
initial plan
|
2025-04-23 17:07:52 -04:00 |
|