@@ -55,6+58,10 @@ public class FileRequestEntity implements RequestEntity {
if (listener != null)
listener.transferProgress(i);
}
if (listener != null)
listener.transferProgress(i);
}
+ } catch (IOException io) {
+ Log.e("FileRequestException", io.getMessage());
+ throw new RuntimeException("Ugly solution to workaround the default policy of retries when the server falls while uploading ; temporal fix; really", io);