Commit Graph

68 Commits

Author SHA1 Message Date
Martin
6bda6c4a5b More robust handling of case where the predicted file size differs from the actual file size and test helper for that 2014-11-25 23:38:28 +01:00
Martin
57dadb4789 Improved error handling while downloading files and send zero bytes if file size was truncated while sending file 2014-11-25 20:49:48 +01:00
Martin
f761e6e9fd Fixed 32bit issues 2014-11-18 20:55:30 +01:00
Martin
050c88b429 Merge remote-tracking branch 'urpc/next' into fileentryindex
Conflicts:
	urbackupclient/ChangeJournalWatcher.cpp
	urbackupclient/ChangeJournalWatcher.h
	urbackupclient/client.cpp
	urbackupclient/urbackupclient.vcxproj.filters
	urbackupcommon/os_functions_win.cpp
	urbackupserver/dao/ServerBackupDao.cpp
	urbackupserver/dao/ServerBackupDao.h
	urbackupserver/fileclient/FileClientChunked.cpp
	urbackupserver/filedownload.cpp
	urbackupserver/server_hash.cpp
	urbackupserver/server_hash.h
2014-11-12 22:48:09 +01:00
Martin
6c0f08da83 Continue after reading from base file failed 2014-11-12 21:10:35 +01:00
Martin
4b8ad2a908 Added assertions to file patching
(cherry picked from commit 03e132f182)

Conflicts:
	urbackupserver/apps/check_files_index.cpp
	urbackupserver/server_hash.cpp
	urbackupserver/server_hash.h
2014-11-09 13:54:03 +01:00
Martin
20fc0b6d90 Fixed big endian issues with file backups 2014-11-08 22:01:31 +01:00
Martin
2a0ea7f617 Fixed big endian issues with file backups 2014-11-08 21:57:55 +01:00
Martin
03e132f182 Added assertions to file patching 2014-11-08 14:15:09 +01:00
Martin
b2ac296ff1 Merge branch 'next' into fileentryindex
Conflicts:
	urbackupclient/dllmain.cpp
2014-11-05 20:30:41 +01:00
Martin
fb20a063f9 Always use separate connection to download blocks with wrong hashes, because the patch file format requires the data in ascending order 2014-11-05 19:32:38 +01:00
Martin
adfd389bad Fixed some issues with the file metadata 2014-11-03 23:13:49 +01:00
Martin
deb80364a6 Merge branch 'fileaccess' into fileentryindex
Conflicts:
	.gitignore
	common/miniz.c
	urbackupclient/ChangeJournalWatcher.cpp
	urbackupclient/ChangeJournalWatcher.h
	urbackupserver/dao/ServerBackupDao.cpp
	urbackupserver/dao/ServerBackupDao.h
	urbackupserver/dllmain.cpp
	urbackupserver/server_download.cpp
	urbackupserver/server_get.cpp
	urbackupserver/server_get.h
	urbackupserver/server_hash.cpp
	urbackupserver/server_hash.h
	urbackupserver/server_settings.h
	urbackupserver/serverinterface/create_zip.cpp
	urbackupserver/urbackupserver.vcxproj.filters
2014-10-11 14:17:42 +02:00
Martin
0d1bb3d98e Get the correct "chunk hash - difference" file size for saving it into the database 2014-09-17 23:02:45 +02:00
Martin
fd4579500d Merge branch 'next' into fileaccess
Conflicts:
	urbackupclient/ClientService.cpp
	urbackupclient/ClientService.h
	urbackupcommon/settingslist.cpp
	urbackupserver/dao/ServerBackupDao.cpp
	urbackupserver/doc/admin_guide.tex
	urbackupserver/fileclient/FileClient.cpp
	urbackupserver/fileclient/FileClientChunked.cpp
	urbackupserver/server_download.cpp
	urbackupserver/server_get.cpp
	urbackupserver/server_get.h
	urbackupserver/server_settings.cpp
	urbackupserver/server_settings.h
	urbackupserver/www/templates.js
2014-09-13 20:15:24 +02:00
Martin Raiber
1662c95643 Don't rerequest the file if it does not exist. Use the same connection after reconnection and correctly shutdown old connections on reconnect. 2014-08-14 23:56:58 +02:00
Martin
28f41e7be9 Fixed null pointer dereferencing bug with the progress debug logging 2014-08-12 18:43:08 +02:00
Martin
36671594f6 More accurate progress 2014-08-10 12:27:44 +02:00
Martin
5a873b5471 Download whole block if hash data is now available 2014-08-10 01:26:19 +02:00
Martin
f54c88d028 Download whole block if hash data is now available 2014-08-10 01:01:19 +02:00
Martin
06add691aa Bugfixes for progress debug messages and partial file downloads 2014-08-09 23:51:36 +02:00
Martin
87599201d8 Log file loading progress every minute 2014-08-09 22:55:31 +02:00
Martin
a696b88b50 Log file loading progress every minute 2014-08-09 21:49:36 +02:00
Martin
b1daa7e223 Reconnect to flush queue if file does unexpectedly not exist 2014-08-07 22:43:52 +02:00
Martin
2ac45bd06b Access files directly from "tray icon" without logging in. Works by saving the user access rights for each backup 2014-07-26 16:07:43 +02:00
Martin
50f0ed70be Moved adler32.cpp to proper place 2014-07-21 22:08:18 +02:00
Martin
161f0155cb Fixed bug in adler32 code. This bug caused unnecessary data transfers in the "block differences - hashed" transfer mode. 2014-07-20 20:31:57 +02:00
Martin
a6f69aad0a Bugfix: Remove proper client on error 2014-06-12 23:02:58 +02:00
Martin
a6e8a63866 Fixed file transfer assertion after reconnect 2014-06-10 18:50:08 +02:00
Martin
b16d444a61 Properly handle endianess for file size 2014-05-26 20:47:45 +02:00
Martin
213dc8753f Properly read remote file size 2014-05-26 20:46:40 +02:00
Martin
1e1b9f8b53 Improved error handling 2014-05-12 20:44:02 +02:00
Martin
1e137bc64e Fixed some bugs with the queuing 2014-05-12 19:50:27 +02:00
Martin
c5d5787fdd Queueing bug fix 2014-05-12 19:04:30 +02:00
Martin
32c50d60b3 Changed time functions to use 64bit integers and added ETA estimation 2014-05-09 22:36:02 +02:00
Martin
c05b11eb90 Corrected endian conversion and file verification file name handling 2014-05-04 14:06:11 +02:00
Martin
c9fc737269 Reenabled debug logging 2014-05-03 22:01:36 +02:00
Martin
048208ea57 Limit file size by requested file size 2014-05-03 00:22:51 +02:00
Martin
44e44958a4 Properly download wrong blocks 2014-05-02 23:12:41 +02:00
Martin
45038a86db * Fixed a few issues with the download queuing
* Disabled verbose debug logging at chunked file transfer
2014-05-01 19:30:14 +02:00
Martin
e0bd50935a File backup speed improvement by queuing file downloads 2014-05-01 12:45:29 +02:00
Martin
3530f14bfa Server public key authentication on the client 2014-03-23 17:15:01 +01:00
Martin
1999d4f148 Hande endianess correctly 2014-02-23 21:50:19 +01:00
Martin
20c763cbb5 Fixed coverity issues 2013-11-02 23:19:48 +01:00
Martin
8e6a4479e4 Longer timeouts for internet clients 2013-06-12 23:46:46 +02:00
Martin
fe7ac1c3cc Optimized patch batching 2013-05-21 21:08:12 +02:00
Martin
6f1a2c2390 Fixed bug in block differences transfer code, that occurred if a file of size zero was updated via patching 2013-05-20 00:25:46 +02:00
Martin Raiber
712a32f0fc Better error reporting 2012-11-13 14:33:10 +01:00
Martin
6be0b8163a Fixed memory leaks 2012-08-15 18:02:42 +02:00
Martin Raiber
a9e6bf621b Merge branch 'next' of ssh://urbackup.git.sourceforge.net/gitroot/urbackup/backend into next 2012-07-24 16:12:03 +02:00