Nick Krichevsky
|
6e66c46383
|
505 before a 405
|
2018-09-11 17:23:29 -04:00 |
Nick Krichevsky
|
cfb020a408
|
Fix server problems with argv
|
2018-09-11 15:30:30 -04:00 |
Nick Krichevsky
|
24d2ea04a2
|
Fix minor type thing
|
2018-09-11 15:17:27 -04:00 |
Nick Krichevsky
|
67ce81fe03
|
Read data as binary rather than strings
|
2018-09-11 15:04:47 -04:00 |
Nick Krichevsky
|
88b660471f
|
Clarify some errors
|
2018-09-10 22:24:28 -04:00 |
Nick Krichevsky
|
8d8c4f0097
|
Add support for date header
|
2018-09-10 21:24:28 -04:00 |
Nick Krichevsky
|
a9706cc6ac
|
Make directories 404
|
2018-09-10 20:18:00 -04:00 |
Nick Krichevsky
|
4c1ee7ed2c
|
Default to TMDG.html
|
2018-09-10 18:38:56 -04:00 |
Nick Krichevsky
|
bb9c6e8afe
|
Rename get_file_from_url to get_file_from_Uri
|
2018-09-10 18:12:41 -04:00 |
Nick Krichevsky
|
e1e2231410
|
Newline shenanigans
|
2018-09-10 00:32:27 -04:00 |
Nick Krichevsky
|
b2968b10e8
|
Add clarifying comment for SIGPIPE
|
2018-09-10 00:28:30 -04:00 |
Nick Krichevsky
|
2beb6b93e7
|
Clean up error handling
|
2018-09-10 00:23:39 -04:00 |
Nick Krichevsky
|
b8b244679f
|
Fix issues with premature socket closing
|
2018-09-10 00:09:28 -04:00 |
Nick Krichevsky
|
99b4c6cf88
|
Remove some reptition
|
2018-09-09 23:39:56 -04:00 |
Nick Krichevsky
|
003a684146
|
Add missing doc comments
|
2018-09-09 23:37:46 -04:00 |
Nick Krichevsky
|
984eb0b81b
|
Make server continuous
|
2018-09-09 23:34:54 -04:00 |
Nick Krichevsky
|
6ba3ee9756
|
Fix some memory leaks
|
2018-09-09 23:27:50 -04:00 |
Nick Krichevsky
|
cb16b2fcd0
|
Remove shutdowns
|
2018-09-09 23:26:11 -04:00 |
Nick Krichevsky
|
90e333a892
|
Add a ton of validation
|
2018-09-09 23:25:10 -04:00 |
Nick Krichevsky
|
6f0d71a07b
|
Fix incorrect comparison in strcpy_no_crlf
|
2018-09-09 23:14:08 -04:00 |
Nick Krichevsky
|
4c117f3e4d
|
Fix bug where null term would be sent over socket
|
2018-09-09 23:13:25 -04:00 |
Nick Krichevsky
|
65e299ace3
|
Add missing 500 status codes
|
2018-09-09 21:34:02 -04:00 |
Nick Krichevsky
|
42b43003aa
|
Fix memory issues
|
2018-09-09 20:54:19 -04:00 |
Nick Krichevsky
|
d25c063a04
|
Listen on all addresses
|
2018-09-09 19:59:07 -04:00 |
Nick Krichevsky
|
5cca544e59
|
Add errno print on server failure
|
2018-09-09 19:51:51 -04:00 |
Nick Krichevsky
|
28700e2e63
|
Minor formatting fix
|
2018-09-09 19:47:21 -04:00 |
Nick Krichevsky
|
0a7300402e
|
Send files on request
|
2018-09-09 19:46:31 -04:00 |
Nick Krichevsky
|
ca7c7e9557
|
Fix buffering issues in send_headers
|
2018-09-09 19:46:12 -04:00 |
Nick Krichevsky
|
e9e8bb8175
|
Fix errors with indexing in status codes
|
2018-09-09 19:45:40 -04:00 |
Nick Krichevsky
|
f780b69793
|
Move status code arrays into c files
|
2018-09-09 17:37:59 -04:00 |
Nick Krichevsky
|
4200b4a6d6
|
Add status code files to server
|
2018-09-09 15:52:38 -04:00 |
Nick Krichevsky
|
2733153826
|
Change demo status line message to not use : lol
|
2018-09-09 14:52:39 -04:00 |
Nick Krichevsky
|
0330ff80ff
|
Refactor get_file_from_url to use stat
|
2018-09-09 14:52:27 -04:00 |
Nick Krichevsky
|
dcc1ca1a2a
|
Implement get_file_from_url
|
2018-09-09 14:48:48 -04:00 |
Nick Krichevsky
|
cf1d164ec5
|
Rename socket_read_result to socket_result
|
2018-09-09 00:18:56 -04:00 |
Nick Krichevsky
|
5de4fd071e
|
Implement parse_request_line
|
2018-09-08 23:53:54 -04:00 |
Nick Krichevsky
|
16668c0707
|
Add strcpy_no_crlf
|
2018-09-08 22:53:45 -04:00 |
Nick Krichevsky
|
262a1bd212
|
Add very basic server
|
2018-09-08 17:26:34 -04:00 |
Nick Krichevsky
|
cc014425c4
|
Add setup function to server/socket_server
|
2018-09-08 15:56:17 -04:00 |
Nick Krichevsky
|
5e4275ac5b
|
Add basic server argparsing
|
2018-09-03 19:16:02 -04:00 |