ptth/todo.md

870 B

  • Not working behind Nginx (Works okay behind Caddy)

  • Still getting the slow request turtle in FF - 500-900 ms wait time

  • ".." from server to server list is broken

  • Redirect to add trailing slashes

  • Add file size in directory listing

  • Allow spaces in server names

  • Make file_server_root mandatory

  • Deny unused HTTP methods for endpoints

  • Hide ptth_server.toml from file server

  • ETag cache based on mtime

  • Server-side hash?

  • Log / audit log?

  • 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.