ptth/todo.md

1007 B

  • Not working behind Nginx (Works okay behind Caddy)

  • Reduce idle memory use?

  • Package templates into exe for release

  • Redirect to add trailing slashes

  • Add file size in directory listing

  • Allow spaces in server names

  • Deny unused HTTP methods for endpoints

  • ETag cache based on mtime

  • Server-side hash?

  • Log / audit log?

  • Add "Last check-in time" to server list

  • Prevent directory traversal attacks in file_server.rs

  • Error handling

  • Reverse proxy to other local servers

Off-project stuff:

  • Benchmark directory entry sorting

Known issues:

Relay can't shut down gracefully if Firefox is connected to it, e.g. if Firefox kept a connection open while watching a video. I'm pretty sure this is a bug in Hyper, so for now I've worked around it with a forced shutdown timer.

Sometimes I get the turtle icon in Firefox's network debugger. But this happens even with Caddy running a static file server, so I can't prove that it's on my side. The VPS is cheap, and the datacenter is far away.