3087 Commits

Author SHA1 Message Date
Michael Friedrich
a837198bbc Fix unique creation of temp files
fixes #10948
2016-02-23 12:34:38 +01:00
Gunnar Beutner
a39fc993e6 Build fix 2016-02-23 10:56:12 +01:00
Jean Flach
debdaceb44 Fix another compiler warning
fixes #10956
2016-02-23 10:54:34 +01:00
Gunnar Beutner
8798c34283 Fix compiler warning
fixes #10956
2016-02-23 10:54:34 +01:00
Jean Flach
9376a37806 Remove unused variable 2016-02-23 10:51:54 +01:00
Gunnar Beutner
b8195beada Increase grace period for agent-based checks
refs #11020
2016-02-23 10:51:12 +01:00
Gunnar Beutner
6e11836791 Add missing comment
refs #10988
2016-02-23 10:50:42 +01:00
Michael Friedrich
d1cc56bbaa Only set SSL_OP_NO_COMPRESSION if supported
OpenSSL 0.9.8 does not support this flag.

fixes #10988
2016-02-23 10:50:29 +01:00
Tobias von der Krone
ae50334995 Support TLSv1.1 and TLSv1.2 for the cluster transport encryption
From https://wiki.openssl.org/index.php/SSL/TLS_Client:
SSLv23_method specifies the protocols used and behavior of the handshake.
The method essentially means SSLv2 or above, and includes the TLS protocols.
The protocols are further tuned through SSL/TLS options. By using
SSLv23_method (and removing the SSL protocols with SSL_OP_NO_SSLv2 and
SSL_OP_NO_SSLv3), then you will use TLS v1.0 and above, including TLS v1.2.
You will also use a TLS handshake in the TLS Record.

If you use TLSv1_method, then you will only use TLS v1.0.

fixes #10988
2016-02-23 10:50:23 +01:00
Gunnar Beutner
87817bfc8a Implement support for epoll
refs #11014
2016-02-23 10:49:24 +01:00
Jean Flach
3b70bab4d7 Use ConfigWriter class in repositoryutility.cpp
refs #10989
2016-02-23 10:46:20 +01:00
Jean Flach
2052edff9f Refactor String-Escape in repositoryutility
fixes #10989
2016-02-23 10:46:20 +01:00
Michael Friedrich
abce99daff Fix: Escaped sequences not properly generated with 'node update-config'
fixes #10989
2016-02-23 10:46:20 +01:00
Jean Flach
fd85379f5c Rephrase some log messages
refs #11122
2016-02-23 10:46:19 +01:00
Jean Flach
09b7f39e86 Fix client not closing connections
fixes #11122
2016-02-23 10:46:19 +01:00
Michael Friedrich
f6378c9417 Increase query queue size for testing
refs #10963
2016-02-23 10:46:19 +01:00
Gunnar Beutner
fc90265332 Ensure that checks are not scheduled for command_endpoint fake hosts
refs #10963
2016-02-23 10:46:18 +01:00
Gunnar Beutner
c415dd3468 Remove redundant log messages
refs #10963
2016-02-23 10:46:18 +01:00
Gunnar Beutner
7985e93ca0 Make sure we're not running command_endpoint-based checks more than once
refs #10963
2016-02-23 10:46:18 +01:00
Gunnar Beutner
80fdccc43a Add missing SetSyncing() call
refs #10963
2016-02-23 10:46:18 +01:00
Gunnar Beutner
3cfa8718b4 Skip log replay for endpoints with log_duration = 0
refs #10963
2016-02-23 10:46:17 +01:00
Gunnar Beutner
087ad3fdf4 Only build leak detection code when I2_LEAK_DEBUG is set
refs #10963
2016-02-23 10:46:17 +01:00
Gunnar Beutner
b227dc77bf Check the certificate name when reconnecting to an instance
refs #10963
2016-02-23 10:46:17 +01:00
Gunnar Beutner
badeea7604 Decrease memory usage for the Object class
refs #10963
2016-02-23 10:46:13 +01:00
Gunnar Beutner
abfacd9e56 Improve debug support for analyzing memory leaks
refs #10963
2016-02-23 09:57:49 +01:00
Jean Flach
e80b335edf Plug two memory leaks
refs #10963
2016-02-23 09:57:40 +01:00
Jean Flach
0a6f15c475 Replace boost-base64 with an openssl implementation
Also add unit tests

fixes #10714
2016-02-23 09:57:18 +01:00
Gunnar Beutner
7f774024d9 Fix: "node setup" tries to chown() files before they're created
fixes #11204
2016-02-23 09:52:36 +01:00
Gunnar Beutner
365390b5f0 Build fix for CentOS 5
fixes #11179
2016-02-23 09:51:52 +01:00
Gunnar Beutner
9313373447 Rename the IOTHREADS macro
refs #11014
2016-02-23 09:51:47 +01:00
Adam James
998abbbae7 Fix parsing of YYYY-MM-DD in LegacyTimePeriod::ParseTimeSpec
fixes #11132

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
2016-02-23 09:45:34 +01:00
Michael Friedrich
2ec36d20ce DB IDO: PArtially revert change for *group_members
Otherwise the index breaks.

refs #11103
2016-02-23 09:45:10 +01:00
Michael Friedrich
2b643640a8 DB IDO: Fix problem with hostgroup_members cleanup
fixes #11103
2016-02-23 09:45:10 +01:00
Gunnar Beutner
80b8bdc640 Fix: Cluster WQ thread dies after fork()
fixes #11118
2016-02-23 09:44:44 +01:00
Michael Friedrich
a30b112391 ApiListener: Bail out if object could not be created during config sync
refs #11006
2016-02-23 09:44:26 +01:00
Gunnar Beutner
2f948ca8ca Fix crash in ApiListener::ConfigUpdateObjectAPIHandler
fixes #11006
2016-02-23 09:44:26 +01:00
Jean Flach
c1b4a8b757 Remove unused variables
fixes #11111
2016-02-23 09:44:05 +01:00
Jean Flach
9bc7f0ad75 Make schedule-downtime default fixed
fixes #10923
2016-02-23 09:43:53 +01:00
Michael Friedrich
7cbe1c46c9 Fix: Deleting an object via API does not disable it in DB IDO
fixes #11065
2016-02-23 09:43:41 +01:00
Gunnar Beutner
0dc6189f47 Build fix
fixes #11096
2016-02-23 09:43:18 +01:00
Michael Friedrich
e3373ebfc5 Windows build fix
fixes #11096
2016-02-23 09:41:23 +01:00
Michael Friedrich
c3dc3e6ec6 Fix: API queries on non-existant objects cause exception
fixes #11088
2016-02-23 09:38:39 +01:00
Gunnar Beutner
8af6ad74c3 Fix memory leak in Stream::Close
refs #10655
2016-02-23 09:38:24 +01:00
Gunnar Beutner
9a0107d360 Fix memory/thread leak in the HttpServerConnection class
fixes #10655
2016-02-23 09:38:23 +01:00
Gunnar Beutner
b6a799d53e Ensure that HttpServerConnections are properly closed
fixes #10655
2016-02-23 09:38:05 +01:00
Gunnar Beutner
6cd931726d Fix crash in ConfigItem::RunWithActivationContext
fixes #11085
2016-02-23 09:36:17 +01:00
Gunnar Beutner
b3b2eb856b Make sure the "syncing" attribute is set to false
refs #11083
2016-02-23 09:35:57 +01:00
Michael Friedrich
a7142252fa Ensure that config sync updates are always sent on reconnect
fixes #11083
2016-02-23 09:35:47 +01:00
Michael Friedrich
b58ddfb158 Implement String#trim
fixes #11037
2016-02-23 09:35:05 +01:00
Michael Friedrich
9141855454 Fix incorrect --version information
fixes #10784
2016-02-23 09:34:50 +01:00