Commit graph

19 commits

Author SHA1 Message Date
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 bb9c6e8afe Rename get_file_from_url to get_file_from_Uri 2018-09-10 18:12:41 -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 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 4c117f3e4d Fix bug where null term would be sent over socket 2018-09-09 23:13:25 -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 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 f780b69793 Move status code arrays into c files 2018-09-09 17:37:59 -04:00
Nick Krichevsky 2733153826 Change demo status line message to not use : lol 2018-09-09 14:52:39 -04:00
Nick Krichevsky cf1d164ec5 Rename socket_read_result to socket_result 2018-09-09 00:18:56 -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