Please handle ENAMETOOLONG (patch)
Please apply the following trivial patch.
It changes current behavior nicely handling cases where requested files have names too long, instead of throwing HTTP 500 Error (Internal Server Error).
It's important to remark that this is a proper behavior. Other httpd's out there also throw 4xx errors in this cases too.
Also available in: Atom