Commit Graph

142 Commits

Author SHA1 Message Date
Martin
332299ebfc Revert "Fix init issue"
This reverts commit 123923f0cd.
2021-06-20 18:28:34 +02:00
Martin
123923f0cd Fix init issue 2021-06-20 18:24:39 +02:00
Martin Raiber
e64da3fd8b Improve memory file 2021-05-08 09:15:29 +02:00
Martin Raiber
74674dbf74 Fix sleeping on Linux 2021-05-04 17:05:47 +02:00
Martin
8324f9c3a1 Local file backup WIP 2020-12-17 21:25:56 +01:00
Martin
4fb806e7b0 Implement connection establishment via web sockets 2020-07-05 21:18:34 +02:00
Martin
2dcfdfb1f6 Fix annoying FreeBSD build issue 2020-02-13 02:00:41 +01:00
Martin
07902c3522 Fix include for getrandom 2020-02-11 02:59:51 +01:00
Martin
2e2dfacfa7 Improve secure random number generation functions 2020-02-10 23:58:26 +01:00
Martin
6f0776ed21 Fix SOCK_CLOEXEC removal
(cherry picked from commit ad6ef2fb7a)
2020-02-04 23:21:35 +01:00
Martin
9d311e9ec5 Work-around non-working SOCK_CLOEXEC
(cherry picked from commit 2a948af1780041af77386ec83865c30158dcda76)

# Conflicts:
#	Server.cpp
#	ServiceAcceptor.cpp
#	fileservplugin/CTCPFileServ.cpp
#	fileservplugin/CUDPThread.cpp
(cherry picked from commit 4722bc347d)

# Conflicts:
#	fileservplugin/CTCPFileServ.cpp
2020-02-04 23:19:40 +01:00
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