Commit Graph

332 Commits

Author SHA1 Message Date
Martin Raiber
45530200d2 Return empty xattr list if xattrs are not supported
(cherry picked from commit d2fa08c0df8bda3ba6b3ed5e6f6e20e4e63b616a)
2016-11-24 01:44:41 +01:00
Martin
c2e91edffe Fixed coverity issues 2016-10-24 03:01:08 +02:00
Martin
bad786bf18 Fixed a few coverity issues 2016-10-24 02:29:54 +02:00
Martin
5312969aea Wait for process to finish 2016-10-10 15:37:27 +02:00
Martin
dfbf79285a Avoid seeking forwards in pipe file 2016-10-10 12:28:32 +02:00
Martin
2c882f7fa8 Avoid seeking forwards in pipe file 2016-10-09 22:09:40 +02:00
Martin
0cfe8955c3 Insert directory into tar stream if it does not exist yet 2016-10-09 20:57:04 +02:00
Martin
a1b3d78aea Use O_NOATIME for opening files for backup
(cherry picked from commit 021b2926d3af97bfee4fd4787890cf950b64a441)
2016-10-04 13:37:09 +02:00
Martin Raiber
9df0adc17b Fix build 2016-09-02 18:55:35 +02:00
Martin Raiber
0ee28dc910 Use VirtualAlloc to allocate buffers for file reading 2016-09-02 18:40:20 +02:00
Martin Raiber
7573a01c5c Fix: Use cache for user account tokens 2016-08-31 22:00:58 +02:00
Martin Raiber
8526e1799d Fixed full sparse file transfer with non-sparse extents longer than 4GB 2016-08-30 22:36:31 +02:00
Martin Raiber
8cdf7804f1 Fixed full sparse file transfer resume with Windows client 2016-08-30 22:35:20 +02:00
Martin
e818c38318 Save extent offset with extent hashes and make sure it matches when using hash 2016-08-21 12:35:13 +02:00
Martin
ea36d3da66 Fix build 2016-08-18 23:53:21 +02:00
Martin
2716426e0d Use existing hash data during restore on server 2016-08-18 23:28:42 +02:00
Martin
ba24e2282c Use CBT data during file backups 2016-08-17 21:38:06 +02:00
Martin
06b381581d Do not try to open files if metadata is sent via callback 2016-08-16 01:24:11 +02:00
Martin
2041fefa9d Free token callback in same thread 2016-07-29 01:51:05 +02:00
Martin
af72be5ffc Fixed memory leaks 2016-07-28 16:52:59 +02:00
Martin
d162882c81 Fix double free 2016-07-06 02:03:29 +02:00
Martin
44f9ae62df Fix some typos and spellings 2016-06-13 16:19:05 +02:00
Martin
013bd6c0b9 Check for syncfs and posix_spawn 2016-06-11 15:23:59 +02:00
Martin
b09805d501 Fix read error handling when transferring whole block 2016-06-10 19:17:48 +02:00
Martin
6ead30936d Improved read error handling during file backup 2016-06-09 23:33:32 +02:00
Martin
d3a61825ac Fix build issue 2016-06-09 22:21:12 +02:00
Martin
22b6766da9 Further improve read error handling
(cherry picked from commit 18945955a5a14ac763d71bbafef42b8fbcae56c5)
2016-06-09 22:17:30 +02:00
Martin
03bd06dada Return true to not close the connection on read error
(cherry picked from commit 9868d113a9f83e9353b902c4414ee93548fff357)
2016-06-09 22:17:25 +02:00
Martin
d35d04e146 Set tar file correctly when resuming 2016-06-09 18:24:52 +02:00
Martin
f357d87884 Fix memory leak 2016-06-09 02:38:15 +02:00
Martin
d6e610c15a Collect file read errors and log them before the next file backup 2016-06-08 21:42:21 +02:00
Martin
db0642e582 Do not leak metadata fds during restore 2016-06-05 15:56:31 +02:00
Martin
34b8c8c65f Option to not follow symlinks during restore 2016-06-04 18:10:21 +02:00
Martin
7da4c6025a Improve read error handling in chunked sending 2016-05-31 16:53:07 +02:00
Martin
fff99aa475 Log error before assertions 2016-05-28 18:51:59 +02:00
Martin
128b605d76 Fix file server thread getting stuck after read error on Windows
(cherry picked from commit 96d54d53846d6e463bea4eaf04bb87cbaf14889f)
2016-05-20 22:39:20 +02:00
Martin Raiber
18061f4526 Halved pipe file read timeout 2016-05-17 21:25:44 +02:00
Martin Raiber
054cb789bc Fix issues discovered by code analysis 2016-05-17 21:08:41 +02:00
Martin
1b22b375fe Lowered idle timeout from 60h to 1h 2016-05-11 20:16:33 +02:00
Martin
107131f3e5 Free file after 1 min instead of 1 hour if idle
(cherry picked from commit ed9a74830919cfb89ed13143a8a53da0f272ad27)
2016-05-11 19:52:42 +02:00
Martin
703a3f7b06 Fix: Correctly cleanup file meta-data stream if interrupted and not reconnected 2016-05-10 23:40:02 +02:00
Martin
1952a1262f Fix: Correctly cleanup file meta-data stream if interrupted and not reconnected 2016-05-10 23:34:04 +02:00
Martin
5c34dff1e6 Correctly cleanup file meta-data stream if interrupted and not reconnected 2016-05-10 23:33:05 +02:00
Martin
40d970214b Do not re-created script and meta-data transfers when client is restarted and server reconnects 2016-05-10 19:03:35 +02:00
Martin
826e592a8d Fix share referencing error after timeout 2016-05-10 14:19:40 +02:00
Martin
9a578e7b34 Revert "Fix share referencing error after reconnection"
This reverts commit f8cefef8f8.
2016-05-10 10:49:52 +02:00
Martin
f8cefef8f8 Fix share referencing error after reconnection 2016-05-09 18:08:21 +02:00
Martin
eb88a9eb11 Improved logging when stopping meta-data transfer 2016-05-08 20:41:34 +02:00
Martin
6cb839a130 Fix Mac compile error 2016-05-03 18:51:34 +02:00
Martin
60cd5e4795 Set stat mode correctly 2016-05-03 00:07:09 +02:00