Commit Graph

88 Commits

Author SHA1 Message Date
Gunnar Beutner 478f03b49a Replace boost::shared_ptr with boost::intrusive_ptr
refs #7622
2014-11-09 16:54:41 +01:00
Michael Friedrich a362b5c14c Fix Zone::IsGlobal() 2014-11-08 22:57:09 +01:00
Gunnar Beutner 266b1754c7 Speed up type lookups
refs #7561
2014-11-07 12:39:32 +01:00
Gunnar Beutner 170c5a59e4 Implement typeof() function 2014-11-03 00:45:14 +01:00
Michael Friedrich f69527599f Cli: Fix serial.txt permissions for 'node setup/wizard'
fixes #7546
2014-11-02 19:38:35 +01:00
Gunnar Beutner 7559273359 Replace cJSON with YAJL
fixes #7452
2014-10-26 20:00:35 +01:00
Gunnar Beutner 5cb08f3ecc Fix incorrect attribute name
fixes #7446
2014-10-24 17:48:02 +02:00
Gunnar Beutner 17003d0157 Remove unnecessary initializers
refs #7247
2014-10-23 19:02:16 +02:00
Gunnar Beutner 9368ff0e03 Update some more log messages 2014-10-20 10:09:57 +02:00
Gunnar Beutner 2d5e9514a5 Refactor logging code 2014-10-19 17:52:17 +02:00
Gunnar Beutner b18f57a745 Remove logger_fwd.hpp 2014-10-19 14:50:39 +02:00
Gunnar Beutner 92896311f3 Implement support for C/C++ comments in the TI compiler
fixes #5018
2014-10-17 19:44:31 +02:00
Gunnar Beutner 97cf93089b Build fix for FreeBSD 2014-10-16 13:36:25 +02:00
Gunnar Beutner f433679b13 Implement the "pki request" and "pki ticket" commands
refs #7244
2014-10-16 12:27:34 +02:00
Gunnar Beutner 311cce5d41 Allow TLS connections with unverified certificates
refs #7244
2014-10-16 09:01:18 +02:00
Gunnar Beutner 879684efcd Fix problems with PNP4Nagios
fixes #7268
2014-09-17 15:38:39 +02:00
Gunnar Beutner ac32d4b382 Improve thread spawning behavior
fixes #7186
2014-09-11 11:45:21 +02:00
Gunnar Beutner 092983d5ad Properly deal with closed TLS streams
fixes #6892
2014-09-09 15:28:55 +02:00
Gunnar Beutner 9a06b09366 ApiClient: Don't try to write to closed streams
refs #6892
2014-09-09 15:12:39 +02:00
Gunnar Beutner 5bb3971f0b Increase queue size for API clients
fixes #6841
fixes #7096
2014-09-05 11:54:47 +02:00
Gunnar Beutner 6f2ea6bc08 Fix build problems with Oracle Solaris Studio
refs #6896
2014-09-02 13:09:17 +02:00
Gunnar Beutner eb091a87b0 Implement support for unity builds
fixes #7034
fixes #7035
2014-08-30 20:02:12 +02:00
Gunnar Beutner fca79dd66c Check object access when replaying log files
fixes #6205
2014-08-26 11:01:29 +02:00
Gunnar Beutner f7f8bd9b00 Use const-ref specifier when catching exceptions
refs #6070
2014-08-25 08:36:30 +02:00
Gunnar Beutner 2c7f440a73 Implement support for ApiListener::bind_host
fixes #6998
2014-08-25 08:27:19 +02:00
Gunnar Beutner 3972aa20c4 Change log level for one of the log messages
refs #6066
2014-08-22 16:00:57 +02:00
Gunnar Beutner 29db3f0972 Add more log messages for API connections
refs #6066
2014-08-22 15:39:34 +02:00
Gunnar Beutner 107a152a8f Improve TLS and cluster error messages
refs #6066
2014-08-20 14:07:23 +02:00
Michael Friedrich f6c24f8964 DB IDO: Delay connection in HA RunOnce mode
refs #6827
refs #6203
2014-08-15 17:21:12 +02:00
Michael Friedrich de229f9fec Exit early on ApiListener SSL errors
refs #6682
2014-08-05 12:14:24 +02:00
Gunnar Beutner 883170a806 Avoid duplicate API connections
refs #6724
2014-08-05 09:10:59 +02:00
Michael Friedrich 51329f0b3c Bail early if ApiListener cannot be started
refs #6682
2014-08-04 17:23:41 +02:00
Gunnar Beutner 9c9982616b Properly close TLS connections
refs #6724
2014-08-04 13:35:12 +02:00
Gunnar Beutner 3c8e84e59e Fix an invalid pointer access in ApiClient::DisconnectSync
refs #6724
2014-08-04 12:48:46 +02:00
Gunnar Beutner 6455c51777 Fix a potential deadlock in ApiClient::Disconnect
refs #6724
2014-08-04 09:50:47 +02:00
Gunnar Beutner f6d6a82762 Fix crash in ApiClient::Disconnect
fixes #6672
2014-07-09 09:14:17 +02:00
Gunnar Beutner 65e69fcd37 Another attempt at fixing the API deadlock
fixes #6617
2014-07-01 09:41:02 +02:00
Gunnar Beutner 8b1579381e Revert "Fix another deadlock in ApiClient::SendMessage"
This reverts commit a0c0930325.
2014-07-01 08:57:57 +02:00
Gunnar Beutner a0c0930325 Fix another deadlock in ApiClient::SendMessage
refs #6368
2014-06-30 14:01:07 +02:00
Gunnar Beutner adccc41a8d Fix: Icinga doesn't send SetLogPosition messages when one of the endpoints fails to connect
fixes #6537
2014-06-23 10:00:02 +02:00
Michael Friedrich dea57e9dcf Replace existing mkdir() calls with Utility::MkDir()
refs #6328
2014-06-13 09:23:05 +02:00
Michael Friedrich 1eb77b0cd7 Replace recursive implementation with a forward loop in Utility::MkDirP()
That way we always move into the tree, but not start in the deepest
level and may limit the tree level too in the future, if required.

Solves the Win32 implementation by moving the general mkdir() call into
Utility::MkDir().

refs #6328
2014-06-13 09:10:35 +02:00
Michael Friedrich 2acf6a063e Fix syncing zones.d from etc/ to var/lib in a recursive manner
Missing mkdir -p basically. Introducing Utility::MkDirP() which still
requires Win32 implementation.

refs #6328
2014-06-12 23:28:46 +02:00
Michael Friedrich a57ebbf953 Fix thinko with global zone sync
refs #6254
2014-06-12 14:31:07 +02:00
Michael Friedrich a3b2b1d780 Add global zone identifier for global object/template configuration.
Refs #6254
2014-06-11 16:49:30 +02:00
Michael Friedrich 78e4b28006 Fix segfault with zones without endpoints on config compile.
Fixes #6425
2014-06-06 13:30:06 +02:00
Michael Friedrich 0c021d94cb Error Messages: Catch and log all Socket class exceptions.
Refs #6070
2014-06-05 16:17:53 +02:00
Michael Friedrich 47f19a2ce9 Error messages: Catch all SSL/TLS exceptions in ApiListener.
Refs #6070
2014-06-05 15:03:56 +02:00
Michael Friedrich bd916723f4 Error messages: Fix ApiListener.
Refs #6070
2014-06-05 14:40:52 +02:00
Gunnar Beutner 24035ab390 Use AF_UNSPEC for Bind() calls.
Fixes #6375
2014-06-01 08:51:06 +02:00