Commit graph

20 commits

Author SHA1 Message Date
60af42f3fa
Decorate index page. 2021-12-26 18:27:56 +00:00
9f28bcdb84
Remove debug print statements. 2021-12-26 17:31:46 +00:00
736c1e6546
Implement dynamic content via CGI and fix media type detection errors with server error pages. 2021-12-26 17:29:34 +00:00
8088fcdde6
Implement per-stream threading 2021-12-24 21:30:39 +00:00
7ad6eb64b3
Add autoswitch for time field to disable on non-Unix systems to prevent potential crashes. 2021-12-22 20:38:36 +00:00
3d0f673e19
Add date field but only on Unix hosts. Sorry friens who use Windows! 2021-12-22 20:30:53 +00:00
00b3e628ae
Add media type detection and server fields. 2021-12-22 20:02:09 +00:00
a6f5fba33b
Bind on everything 2021-10-16 15:20:33 +01:00
96189b04ad
Directory index generation works 2021-09-05 16:16:07 +01:00
04e019b00e Handle URL rewriting for subdirectories containing index.html 2021-09-02 18:13:37 +01:00
00ebb833aa Remove debug messages as I went insane trying to fix the tiny CRLF problem in process_request() 2021-09-02 17:28:07 +01:00
c0612dad5d Bad requests are handled with 503 errors and process_request() now removes character returns and line feeds at the end of a request :) 2021-09-02 17:25:53 +01:00
0ef8e438db And the resource has been isolated! 2021-09-02 16:25:13 +01:00
cf0066abce Stack Overflow, what would I ever do without you? 2021-09-02 16:18:23 +01:00
2612f1d679 Requests can now be parsed and compiler warnings are fewer. 2021-09-02 16:16:38 +01:00
1e377125f8 Handle filesystem errors by presuming 404. 2021-08-30 17:32:44 +01:00
9d99683f3a Reading the stream is successful. 2021-08-30 17:18:22 +01:00
0e4dc6b834 Reading from filesystem is successful. 2021-08-30 16:17:11 +01:00
2d0ce61654 ZOMG IT WERKS 2021-08-29 16:07:05 +01:00
3cd3a4abb1 Cargo init 2021-08-29 15:18:20 +01:00