GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Regarding issue #6 - canceling requests
Added xpapazaf code to check for thread interruption at the request class
added checks for request thread interruption in order to cancel it pr…
Merge pull request #28 from indigotech/master
issue #6 fix - canceling requests
I don't think DefaultHttpClient is even interruptable, is it? It may make more sense to support a cancel mechanism through the API. One of the things I've noticed is that, if a context is finishing, the response is posted to the dead thread anyway, since there's no isFinishing() check.