)]}' { "commit": "dd439dcb42093fde4452e320f3a9c4bfa2066def", "tree": "2c11e4241d60b61edddbc842f82cf6aeeed73b3e", "parents": [ "f605da3d9e6590351cb0bb26bb6ba5146952777c" ], "author": { "name": "Jeff Davidson", "email": "jpd@google.com", "time": "Thu Oct 15 15:26:10 2015 -0700" }, "committer": { "name": "Jeff Davidson", "email": "jpd@google.com", "time": "Thu Mar 10 13:49:44 2016 -0800" }, "message": "Retry more errors in Volley\u0027s BasicNetwork.\n\nAlways retry I/O errors while reading the HTTP response entity.\nFurthermore, if a client opts in, retry HTTP 500 errors indicating\nsomething went wrong on the server.\n\nThis resolves a longstanding TODO to only throw a ServerError on 5xx\nerrors by adding a ClientError for 4xx errors. For backwards\ncompatibility, this extends ServerError.\n\nNote that Volley already may retry a request that reached the server\nif the connection times out, which means that lack of idempotency\nshouldn\u0027t be a concern here if it wasn\u0027t already. But if we wanted to\nbe even safer, we could require clients to opt into the additional\nretry cases, at the cost of a somewhat more polluted API.\n\nAdd unit tests for most failure scenarios.\n\nBug: 23152983\nChange-Id: I92cf35c66ccf98a1682adf41654afeb8634911db\n", "tree_diff": [ { "type": "add", "old_id": "0000000000000000000000000000000000000000", "old_mode": 0, "old_path": "/dev/null", "new_id": "a8c8141425aa10d1cf179c8efa442d963c2be772", "new_mode": 33188, "new_path": "src/main/java/com/android/volley/ClientError.java" }, { "type": "modify", "old_id": "5b42d1ff2259317858f94de958bcc2bcdf2106b8", "old_mode": 33188, "old_path": "src/main/java/com/android/volley/Request.java", "new_id": "8200f6eb1d05a320ab656bc0e2fa108d0f7031c1", "new_mode": 33188, "new_path": "src/main/java/com/android/volley/Request.java" }, { "type": "modify", "old_id": "4b1603b2509c900578ca5f23accb7212950eddab", "old_mode": 33188, "old_path": "src/main/java/com/android/volley/toolbox/BasicNetwork.java", "new_id": "37c35ec5967015ffafc5b744b2a50b55f86639dc", "new_mode": 33188, "new_path": "src/main/java/com/android/volley/toolbox/BasicNetwork.java" }, { "type": "modify", "old_id": "9594fde7bdacfa541ae597ae85202bbd0e0c5b8e", "old_mode": 33188, "old_path": "src/test/java/com/android/volley/mock/MockHttpStack.java", "new_id": "91872d396cd93035cfd7345db698006e1fb7b92e", "new_mode": 33188, "new_path": "src/test/java/com/android/volley/mock/MockHttpStack.java" }, { "type": "modify", "old_id": "89718b1ebf948f14e45de6c7d0f8362d28ac2d08", "old_mode": 33188, "old_path": "src/test/java/com/android/volley/toolbox/BasicNetworkTest.java", "new_id": "c01d9b0dd9791fcb3aaa583637872ce00d6f6133", "new_mode": 33188, "new_path": "src/test/java/com/android/volley/toolbox/BasicNetworkTest.java" } ] }