This tiny server will return a 500: unknown error when given a URL longer than 255 bytes:
connect = require('connect');
var app = connect()
// this will work (255 a's):
// this will trigger an unknown error (256 a's):
Removing the static middleware will make long URLs work, however.
on an ENAMETOOLONG it should just pass control to the next middleware. which version(s)? perhaps you're using an older version without this fix
About to try upgrading node?
Ah, I see where that is. More debugging!