loopj/android-async-http — pull request #148 by OnlyInAmerica (2012-12-04 21:15:48+00:00)
Title: Fix Issue 23: Forever loop while host is not found

Hey loopj! Like your work!

This adds a quick SocketException catch in `AsyncHttpRequest.makeRequestWithRetries` to resolve the responseHandler not getting sent a FailureResponse when the host is unreachable. IMO this is a critically important, and simple, fix.

There's a related [SO](http://stackoverflow.com/questions/12866353/loopj-android-async-http-onfailure-not-fired) question you may want to put to rest if you confirm this fixes the issue.