hoxy
hoxy copied to clipboard
In non debug mode exceptions should return 500
I noticed that the client connection doesn't appear to be closed when there is an exception. I think it should return 500 for server error in that case. In debug mode it is useful to have the the console display the error and perhaps not return a 500 to the user. This could be a Denail of Service attack by sending bogus urls and consuming all the connections on the server.
Rinaldo
There should be a test case for this. I'm adding a todo as a reminder.