hoxy icon indicating copy to clipboard operation
hoxy copied to clipboard

In non debug mode exceptions should return 500

Open digitalrinaldo opened this issue 14 years ago • 1 comments

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

digitalrinaldo avatar Oct 08 '11 14:10 digitalrinaldo

There should be a test case for this. I'm adding a todo as a reminder.

greim avatar Feb 13 '14 16:02 greim