commit | 19aa40c81c48ff98ccc7272f2a3c41479b806376 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Mon Dec 17 16:33:09 2012 -0800 |
committer | Jeff Sharkey <jsharkey@android.com> | Mon Dec 17 16:43:09 2012 -0800 |
tree | 4aa62e7114dd639878162af06ae4b0a7d6b66a5a | |
parent | e60dbb8a86df42576659c0be0591a2f072074bc8 [diff] |
Retry failed redirections when socket is recycled. When an HTTP request fails, getResponse() attempts to retry once if the socket was recycled from a previous request. This extends that logic to retry failed redirects by marking the connection as recycled. http://code.google.com/p/android/issues/detail?id=41576 Change-Id: I5aea566a498e48d753d3893101d14cd4ab76db2b