google-http-java-client 1.15.0-rc
Java environment: Java 5
We use http client with google drive together to upload/download files to/from
the cloud. But very unpleasant issue was found. When user is uploading big file
(~ 1Gb) connection problems could happen and uploading is interrupted. To
handle such situation we added backoff policy to continue file uploading, but
we found that errors happened again. Deeper investigation shown that error
happened inside HttpRequest class interceptor logic:
// run the interceptor
if (executeInterceptor != null) {
executeInterceptor.intercept(this);
}
Credential interceptor from oauth library fires io exception when it can't
connect to server to refresh token due connection problems.
To fix such issues this call should obey backoff policy as main request logic
does.
Original issue reported on code.google.com by ArmenPol...@gmail.com on 2 Jan 2014 at 4:35
Original issue reported on code.google.com by
ArmenPol...@gmail.com
on 2 Jan 2014 at 4:35