Skip to content

Fix crash in RetryHandler #295

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

snowpong
Copy link

It is possible for context.getAttribute(...) to return null,
so we have to check currentReq before we call getMethod() on it.

Without this fix the HttpClient seems to hang forever and
onFinish() is never called in the AsyncHttpHandlers.

Is is possible for context.getAttribute(...) to return null,
so we have to check currentReq before we call getMethod() on it.

Without this fix the HttpClient seems to hang forever and
onFinish() is never called in the AsyncHttpHandlers.
@ghost ghost assigned smarek Oct 12, 2013
@smarek smarek closed this in 6389fa9 Oct 12, 2013
iNdieboyjeff pushed a commit to iNdieboyjeff/android-async-http that referenced this pull request Oct 14, 2013
# By mareksebera (51) and Marek Sebera (2)
# Via mareksebera
* 'master' of https://github.com/loopj/android-async-http: (53 commits)
  Handy method to specify charset in anonymous inner instances
  Sample Application initial state
  Removed unnecessary dependency, android-async-http#168
  Javadoc formatting
  Fixed 2d34e1c leftover, Closes android-async-http#86
  Fixing android-async-http#79, Allowing non-standard HTTP and HTTPS ports
  Added warning about SSL bypass fix
  Related to android-async-http#67, avoiding NPE in JsonHttpResponseHandler
  Fixes android-async-http#61, allow removing of Basic Auth credentials
  Compatibility changes fix
  Fixes android-async-http#14
  Fixes android-async-http#143
  android-async-http#88 uncatched exception
  Closes android-async-http#266
  Closes android-async-http#283
  Fixes android-async-http#286
  Fixes android-async-http#294
  Fixes android-async-http#287
  Fixes android-async-http#295
  Added Maven description to README file [skip ci]
  ...

Conflicts:
	.classpath
	build.gradle
	project.properties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants