Skip to content
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

response.Body can be nil when requests time out #622

Merged
merged 1 commit into from Apr 7, 2016

Conversation

fabiokung
Copy link
Contributor

This was generating panics (nil pointer dereference) on retries, since Body can be empty in some cases (e.g.: when connections/requests time out there isn't a response).

This was generating panics on retries, since Body will be empty.
@xibz
Copy link
Contributor

xibz commented Apr 7, 2016

@fabiokung - Thank you for taking the time to submit this PR. Changes look good!

@xibz xibz merged commit 6cfcbf0 into aws:master Apr 7, 2016
@fabiokung
Copy link
Contributor Author

np, that was a quick turnaround!

@fabiokung fabiokung deleted the fix-nil-body branch April 7, 2016 23:59
xibz added a commit that referenced this pull request Apr 8, 2016
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.

None yet

2 participants