mirror of
https://github.com/mjl-/mox.git
synced 2025-06-28 02:28:15 +03:00

The Open call returns an errno ENAMETOOLONG. We didn't handle that specially, so turned it into a "500 internal server error" response. When serving static files, we should just return "404 file not found" errors. The file obviously does not exist. Saw a few overlong requests from bad bots not recognizing "data:" uri's inlined in html files, trying to request them.