ptth/todo.md

875 B

  • Not working behind Nginx

  • Try sending the http_response "OK" after the request body is received

  • Sort directory listings

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