Loading libs/jackrabbit-webdav-2.12.2.jar→libs/jackrabbit-webdav-2.12.4.jar +715 B (323 KiB) File changed and moved.No diff preview for this file type. View original file View changed file src/com/owncloud/android/lib/resources/files/ChunkedUploadRemoteFileOperation.java +11 −1 Original line number Diff line number Diff line Loading @@ -48,6 +48,8 @@ import java.util.Set; public class ChunkedUploadRemoteFileOperation extends UploadRemoteFileOperation { private static final int LAST_CHUNK_TIMEOUT = 900000; //15 mins. public static final long CHUNK_SIZE = 1024000; private static final String OC_CHUNKED_HEADER = "OC-Chunked"; private static final String OC_CHUNK_SIZE_HEADER = "OC-Chunk-Size"; Loading Loading @@ -114,6 +116,14 @@ public class ChunkedUploadRemoteFileOperation extends UploadRemoteFileOperation mPutMethod.abort(); // next method will throw an exception } if (chunkIndex == chunkCount - 1) { // Added a high timeout to the last chunk due to when the last chunk // arrives to the server with the last PUT, all chunks get assembled // within that PHP request, so last one takes longer. mPutMethod.getParams().setSoTimeout(LAST_CHUNK_TIMEOUT); } status = client.executeMethod(mPutMethod); if (status == 400) { Loading Loading
libs/jackrabbit-webdav-2.12.2.jar→libs/jackrabbit-webdav-2.12.4.jar +715 B (323 KiB) File changed and moved.No diff preview for this file type. View original file View changed file
src/com/owncloud/android/lib/resources/files/ChunkedUploadRemoteFileOperation.java +11 −1 Original line number Diff line number Diff line Loading @@ -48,6 +48,8 @@ import java.util.Set; public class ChunkedUploadRemoteFileOperation extends UploadRemoteFileOperation { private static final int LAST_CHUNK_TIMEOUT = 900000; //15 mins. public static final long CHUNK_SIZE = 1024000; private static final String OC_CHUNKED_HEADER = "OC-Chunked"; private static final String OC_CHUNK_SIZE_HEADER = "OC-Chunk-Size"; Loading Loading @@ -114,6 +116,14 @@ public class ChunkedUploadRemoteFileOperation extends UploadRemoteFileOperation mPutMethod.abort(); // next method will throw an exception } if (chunkIndex == chunkCount - 1) { // Added a high timeout to the last chunk due to when the last chunk // arrives to the server with the last PUT, all chunks get assembled // within that PHP request, so last one takes longer. mPutMethod.getParams().setSoTimeout(LAST_CHUNK_TIMEOUT); } status = client.executeMethod(mPutMethod); if (status == 400) { Loading