2021-08-29 15:16:49 +01:00
|
|
|
# herb
|
|
|
|
The web server yer mom uses.
|
|
|
|
|
|
|
|
## In all seriousness!
|
|
|
|
This is a little fun experiment for me to mess around with Rust
|
|
|
|
|
|
|
|
## Chonklist
|
|
|
|
I need this stuff to actually have a functioning but basic web server.
|
2021-08-30 16:17:11 +01:00
|
|
|
|
2021-08-29 16:07:05 +01:00
|
|
|
[x] Open a socket
|
2021-08-30 16:17:11 +01:00
|
|
|
|
2021-08-29 16:07:05 +01:00
|
|
|
[x] Recieve HTTP requests
|
2021-08-30 16:17:11 +01:00
|
|
|
|
2021-08-29 16:07:05 +01:00
|
|
|
[x] Process said requests
|
2021-08-30 16:17:11 +01:00
|
|
|
|
2021-08-29 16:07:05 +01:00
|
|
|
[x] Send back HTTP requests
|
2021-08-30 16:17:11 +01:00
|
|
|
|
|
|
|
[x] Read index page from filesystem
|
2021-08-29 15:16:49 +01:00
|
|
|
|
|
|
|
### Next Chonklist
|
|
|
|
The stuff I need to make it usable.
|
2021-08-30 16:17:11 +01:00
|
|
|
|
2021-08-30 17:18:22 +01:00
|
|
|
[x] Read the stream
|
|
|
|
|
|
|
|
[ ] Detect which resource the client wants to access
|
2021-08-30 16:17:11 +01:00
|
|
|
|
|
|
|
[ ] Detect missing files and return a 404 page
|
|
|
|
|
2021-08-29 15:16:49 +01:00
|
|
|
[ ] Custom error pages
|
2021-08-30 16:17:11 +01:00
|
|
|
|
|
|
|
[ ] Make it user configurable
|
|
|
|
|
|
|
|
[ ] Properly generate headers
|
|
|
|
|
|
|
|
[ ] Read other pages from filesystem
|
2021-08-29 15:16:49 +01:00
|
|
|
|
|
|
|
### SUPAR Chonklist
|
|
|
|
Whatever is on here, just to make it extra spicy.
|
2021-08-30 16:17:11 +01:00
|
|
|
|
2021-08-29 15:16:49 +01:00
|
|
|
[ ] HTTPS support
|
2021-08-30 16:17:11 +01:00
|
|
|
|
2021-08-29 15:16:49 +01:00
|
|
|
[ ] HTTP/2 support
|
2021-08-30 16:17:11 +01:00
|
|
|
|
2021-08-29 15:16:49 +01:00
|
|
|
[ ] Dynamic pages via CGI?
|
2021-08-30 16:17:11 +01:00
|
|
|
|
2021-08-29 15:19:50 +01:00
|
|
|
[ ] Image thumbnailing/compression
|
2021-08-30 16:17:11 +01:00
|
|
|
|
2021-08-29 15:19:50 +01:00
|
|
|
[ ] Compressing big files
|
2021-08-30 16:17:11 +01:00
|
|
|
|
|
|
|
[ ] Directory index generation
|