Commit Graph

67 Commits

Author SHA1 Message Date
Martin
bbb9dc66ff Replace std::auto_ptr with std::unique_ptr 2021-06-20 17:56:33 +02:00
Martin
225ef5e0bf Add local/passive connection encryption/compression 2020-08-11 00:11:18 +02:00
Martin
41e5c28030 Skip interfaces where address is not set 2020-07-13 19:15:54 +02:00
Martin
f4bc325cfc Fix file download queuing error handling 2019-07-30 17:44:33 +02:00
Martin
0e6cbaafc2 Log about unknown packet id 2019-07-30 17:19:48 +02:00
Martin
a884d65e9f Add scope to file client addr hints 2019-07-17 21:15:32 +02:00
Martin
c665c6ac4e Build Linux binaries with Android NDK 2019-07-06 21:57:18 +02:00
Martin
688b6228e3 Fix FreeBSD build 2019-06-11 14:26:15 +02:00
Martin
0fdedd9dd5 Fix IPv6 on FreeBSD 2019-05-31 17:47:09 +02:00
Martin Raiber
5bfe026af4 Fix broadcasting from ipv6 sockets 2019-05-14 16:29:12 +02:00
Martin
fec6f0afff Set IPV6_V6ONLY on ipv6 sockets 2019-05-14 16:17:05 +02:00
Martin Raiber
82dd3d26e9 Fix build on Linux 2019-05-14 16:04:12 +02:00
Martin
d4f5e56d89 Bind to ipv6 addrs on Linux 2019-05-14 16:00:04 +02:00
Martin Raiber
2be94b8df2 Fix build on Linux 2019-05-13 22:34:20 +02:00
Martin
f68bf7386d IPv6 support (mostly on Windows for now) 2019-05-13 17:57:44 +02:00
Martin
9f1971987f Functionality to interrupt parallel hash loading threads on clients 2019-05-13 17:55:22 +02:00
Martin
afe5a74f99 Only set reconnect_tries to 50 if it wasn't set higher previously
(cherry picked from commit b5a21ee00ffe0bde88d968d995f786e007c00790)
2019-04-19 12:22:31 +02:00
Martin
3b9d16fc0b Reset reconnect tries if more than 30min between reconnects
(cherry picked from commit 27e660a5eb21a77c119376650583edff6d691413)
2019-04-19 12:22:23 +02:00
Martin
331562b249 Comment currently unused functionality
(cherry picked from commit 6b8465d0d01e3005b751b1e60110569976007b46)
2018-12-16 03:55:33 +01:00
Martin
17d9d0737e Fix build 2017-12-17 15:37:47 +01:00
Martin
cab42dedcb Set FD_CLOEXEC via fcntl if SOCK_CLOEXEC is not available 2016-12-08 00:49:47 +01:00
Martin
a5fcebe5dc Set FD_CLOEXEC via fcntl if SOCK_CLOEXEC is not available 2016-12-08 00:29:16 +01:00
Martin
740961c156 Catch instances where a client with empty name is accidentally added
(cherry picked from commit 9dba295c7378ff5a81ccf2b5c403c6d4d80dba7c)
2016-09-28 12:55:15 +02:00
Martin
fc601cd475 Do not cleanup on writing failures during file metadata download 2016-08-07 17:36:04 +02:00
Martin
6ead30936d Improved read error handling during file backup 2016-06-09 23:33:32 +02:00
Martin
22b6766da9 Further improve read error handling
(cherry picked from commit 18945955a5a14ac763d71bbafef42b8fbcae56c5)
2016-06-09 22:17:30 +02:00
Martin
61f2ff400b Lower reconnection timeout if shutting down file client 2016-05-30 16:57:18 +02:00
Martin
21a51b6d39 Renamed ERR_FILE_DOESNT_EXIST to ERR_CANNOT_OPEN_FILE. Do not stop backup if this error occurs during patch file download 2016-05-28 21:31:42 +02:00
Martin
d478e830ae Reconnect if file request fails and retry 2016-05-13 21:37:37 +02:00
Martin
489b21fcd1 Set resume flag only if something was already transferred 2016-05-11 19:00:28 +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
19d79e8e8f Improved handling of case where snapshot removal is delayed because of still ongoing meta-data transfers 2016-05-08 16:28:38 +02:00
Martin
d485e1fe8e Restore fixes 2016-05-06 23:42:21 +02:00
Martin
92141c5ea8 Log about download with sparse extents 2016-05-05 16:04:26 +02:00
Martin
df7f2a95fe Fix restore reconnect segfault 2016-05-02 18:05:12 +02:00
Martin
b070462c29 Fixed hang with stuck socket 2016-02-21 16:18:20 +01:00
Martin
ca6904c7c4 Correctly resize sparse files 2016-02-20 02:19:25 +01:00
Martin
e711dde485 Do not retry InformMetadataStreamEnd automatically when stopping metdata download thread 2016-02-19 18:38:44 +01:00
Martin
3156da20af Limit sparse file size to initially transferred file size 2016-02-18 00:37:38 +01:00
Martin
433f3058be Fixed forcefull metadata thread disconnect 2016-02-17 23:22:03 +01:00
Martin
89616e04b3 Fixed flushing behaviour 2016-02-01 19:23:57 +01:00
Martin
5d61ce41ee Fixed flushing behaviour 2016-02-01 19:10:09 +01:00
Martin
108711a57a Show download speed and ETA 2016-01-21 00:45:13 +01:00
Martin
b63c5d6b78 Refresh file backup progress more regularly 2016-01-15 03:31:19 +01:00
Martin
d47668fb5f Prevent handle leaks. Get stderr when snapshotting/removing snapshot in backup hook 2016-01-14 20:59:46 +01:00
Martin
60e77964ad + Linux sparse file support - some bugs 2016-01-11 21:11:14 +01:00
Martin
95e76550cd Sparse file handling (TODO: Linux) 2016-01-11 00:29:46 +01:00
Martin
9ee64e650a Updated copyright 2016-01-02 16:38:00 +01:00
Martin
a5fce562cb Faster removal of PipeSession to prevent timeouts 2015-12-22 14:52:04 +01:00
Martin
07e704156d Added checksums to metadata and improved partial metadata handling 2015-12-19 18:01:21 +01:00