NanoHttpd/nanohttpd — pull request #104 by yankee42 (2014-04-18 17:14:33+00:00)
Title: Return null value leads to NullPointerException

I tried to build NanoHttpd on my (Linux-) machine and the build fails, because of a `too many open files` error in `HttpKeepAliveTest`.

The cause of the problem is not easy to identify, because at the location where the error occurs is ignored and a null value is returned which later leads to a NullPointerException, which hides the actual location in the source code where the error occurred.

This patch makes sure that if an error occurs it is reported accurately even if it cannot be handled.