issue #6 fix - canceling requests #28

Merged
merged 1 commit into from Dec 21, 2011

Conversation

Projects
None yet
3 participants
Contributor

felipesabino commented Dec 21, 2011

Regarding issue #6 - canceling requests
#6

Added xpapazaf code to check for thread interruption at the request class

loopj added a commit that referenced this pull request Dec 21, 2011

Merge pull request #28 from indigotech/master
issue #6 fix - canceling requests

@loopj loopj merged commit c774527 into loopj:master Dec 21, 2011

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment