Commit Graph

131 Commits

Author SHA1 Message Date
Martin
95f1fe307d Set MSG_NOSIGNAL in OpenSSL send/recv 2019-08-03 21:48:38 +02:00
Martin
8a4843a349 Add OpenSSL support to client 2019-08-03 18:55:00 +02:00
Martin
43325a245e Improve c-ares timeout 2019-08-01 21:48:54 +02:00
Martin
1a58f48dc3 Option to use c-ares for DNS resolution and use it for android linux client builds 2019-07-31 22:38:55 +02:00
Martin
ceaf0e63b3 Try connecting to all DNS lookup results in order 2019-07-17 15:18:35 +02:00
Martin Raiber
b158bfa4ef Return ipv6 zone in lookup 2019-06-23 23:07:29 +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
b5a657dc46 Catch and log info about C++ exceptions 2019-05-01 00:49:52 +02:00
Martin
fa3096bdb6 Catch and log info about C++ exceptions 2019-05-01 00:31:34 +02:00
Martin
17e8b2282e Catch and log info about C++ exceptions 2019-04-30 19:42:15 +02:00
Martin
b684cb485d Set socket window size to 3MiB send buffer and 128KiB recv buffer for client on Windows 2019-04-19 17:08:35 +02:00
Martin
28421d43bc Return error if name lookup fails
(cherry picked from commit a5c97e11604afe048494bcc45e6659b5952a0655)
2019-04-19 12:20:45 +02:00
Martin
c63aafeb9a Ability to connect via http connect proxy to internet server 2019-03-18 15:53:30 +01:00
Martin Raiber
df7100e164 Decrease large thread stack size to 64MB and create thread without large stack size if creation with large size fails 2018-12-03 23:12:05 +01:00
Martin Raiber
261fc3009d Decrease large thread stack size to 64MB and create thread without large stack size if creation with large size fails 2018-12-03 23:02:10 +01:00
Martin Raiber
6e3b31dcb6 Decreate large thread stack size to 64MB and create thread without large stack size if creation with large size fails 2018-12-03 22:51:49 +01:00
Martin
ca0801ddb5 Fix build 2017-12-17 15:49:34 +01:00
Martin
b199c30a25 Use Crypto++ to calculate MD5/SHA in release mode 2017-12-17 15:29:08 +01:00
Martin
878742d27d Improve thread pool
(cherry picked from commit f9126decebea0a439d29a6dd96621c9ca4172cca)

# Conflicts:
#	ThreadPool.cpp
2017-07-08 17:57:30 +02:00
Martin Raiber
1be64fb176 Increase large stack size 2017-06-16 17:09:56 +02:00
Martin
5cbf8beb05 Support larger stack size on Windows 2017-06-07 15:52:34 +02:00
Martin
dee5a9b0c8 Support larger stack size on Windows 2017-06-07 15:26:03 +02:00
Martin
11237f09eb Larger stack size for file indexing thread 2017-06-07 15:03:48 +02:00
Martin
d8eb959504 Retry creating thread pool thread 2017-05-13 12:43:32 +02:00
Martin
bc74f5f397 Handle pthread thread creation errors and create threads in detached state 2017-05-13 12:31:21 +02:00
Martin
a744127ee8 Fix dead lock
(cherry picked from commit b5e6ce0912171ff4352e20639fdc7bd435560729)
2017-01-12 01:04:09 +01:00
Martin
37192e7251 Reset CPU priority as well... 2016-12-12 23:24:37 +01:00
Martin
214b3936ee Reset IO priority of new threads on Linux 2016-12-12 23:20:26 +01:00
Martin
4a7563b135 Hostname database and settings to configure it to not start backups if clients have certain hostnames 2016-12-10 20:57:39 +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
c36a9af570 Revert "Return zero if settings file cannot be opened"
This reverts commit ddd0dcc301.
2016-11-30 01:50:34 +01:00
Martin
ddd0dcc301 Return zero if settings file cannot be opened 2016-11-30 01:49:23 +01:00
Martin
64c7d9020f Simplified file settings reader 2016-11-30 01:23:00 +01:00
Martin Raiber
bb2dcdbca4 Throtting to percent of max speed determined by regular probing for max speed 2016-11-12 22:23:34 +01:00
Martin
6ad93b1fbc Fix handle leak 2016-10-24 02:47:54 +02:00
Martin
bad786bf18 Fixed a few coverity issues 2016-10-24 02:29:54 +02:00
Martin
7785142c20 Improved settings performance 2016-08-07 23:01:07 +02:00
Martin
aeb3a2a252 Debug file closing 2016-04-03 14:33:20 +02:00
Martin
fc948f392b Destroy databases when thread finishes 2016-02-19 18:47:42 +01:00
Martin Raiber
cf0c2c6df4 Fix a few query leaks
(cherry picked from commit 91356f346aa049b6a8468d492a4badcfb040bd62)
2016-01-30 20:57:31 +01:00
Martin
c263f009af Defines to increase stack size 2016-01-25 00:35:01 +01:00
Martin
dff855325e Build Linux client installer 2016-01-20 01:47:08 +01:00
Martin
8af6385058 Set SO_NOSIGPIPE on sockets on Mac OS X 2016-01-17 17:25:22 +01:00
Martin
9cf5aef756 Build fix 2016-01-16 18:49:18 +01:00
Martin
1ad155fee0 Max OS X client 2016-01-16 18:12:37 +01:00
Martin
b3903cc1c4 Checkpoint files.db in separate thread and give all threads nice names 2016-01-15 16:19:23 +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
5402c004ed Linux build fixes plus improved error logging 2016-01-14 19:46:43 +01:00