Michael Friedrich
d85ba84a9a
Fix wrong connection log message for global zones
...
fixes #10377
2015-10-16 12:49:40 +02:00
Gunnar Beutner
c8d24b6d49
Fix deadlock in ApiListener::RelayMessage
...
fixes #10002
2015-10-15 15:18:02 +02:00
Gunnar Beutner
9c993bb288
Fix: ApiListener::SyncRelayMessage doesn't send message to all zone members
...
fixes #10365
2015-10-15 11:59:57 +02:00
Gunnar Beutner
e0685356d6
Don't log messages we've already relayed to all relevant zones
...
fixes #10262
2015-10-13 13:07:32 +02:00
Michael Friedrich
8b1a262086
Don't throw an exception when replaying the current replay log file
...
fixes #10239
2015-10-13 12:21:23 +02:00
Michael Friedrich
c3a47443af
Fix wrong log lag in cluster-zone check
...
Refactor the calculation into a generic function.
fixes #8805
2015-09-25 14:28:01 +02:00
Gunnar Beutner
d01330ac27
Build fix
...
refs #9623
2015-08-26 07:10:49 +02:00
Jean Flach
f71a2ca340
Move endpoint error check to ti file
...
refs #9623
Conflicts:
lib/remote/endpoint.cpp
lib/remote/endpoint.hpp
2015-08-25 17:10:20 +02:00
Jean Flach
0513be27b4
Add config error on empty port in Endpoints
...
fixes #9623
Conflicts:
lib/remote/endpoint.cpp
lib/remote/endpoint.hpp
2015-08-25 16:43:52 +02:00
Gunnar Beutner
e1b9d82896
Fix warnings about invalid API function 'icinga::Hello'
...
fixes #9884
2015-08-24 11:18:48 +02:00
Michael Friedrich
b6b6115a5f
Fix cluster check w/ immediate parent and child zone endpoints
...
fixes #9262
2015-08-12 10:51:37 +02:00
Markus Frosch
97f48759cd
Remove selective reconnecting behavior
...
We want to remove the partial reconnecting behavior, so that all endpoints of
a zone try to connect to a lower or higher zone in hierarchy.
fixes #9406
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-07-10 10:32:28 +02:00
Gunnar Beutner
0a3614723f
Fix stability issues with the TlsStream/Stream classes
...
fixes #9481
2015-07-06 15:09:04 +02:00
Michael Friedrich
64214bd853
Fix crash in Dependency::Stop()
...
This partially reverts the fix in #8436
fixes #8687
refs #8436
Conflicts:
lib/db_ido_pgsql/idopgsqlconnection.cpp
2015-03-12 11:56:20 +01:00
Gunnar Beutner
cef5191d44
Fix timeout problem with API heartbeat messages
...
fixes #8672
2015-03-11 12:56:22 +01:00
Gunnar Beutner
4e16f48255
Don't accept config updates for zones for which we have an authoritative copy of the config
...
fixes #8555
2015-03-09 08:46:01 +01:00
Gunnar Beutner
fd9dc32a3d
Implement SNI support for the TlsStream class
...
fixes #8610
2015-03-05 14:15:42 +01:00
Gunnar Beutner
e52a1f38f3
Fix uninitialized field in the ApiListener class
...
Coverity Bug ID: 1272321
2015-03-02 10:14:14 +01:00
Gunnar Beutner
4cc7d4963c
Refactor the API timeout timer
...
refs #8554
2015-02-27 20:18:20 +01:00
Gunnar Beutner
d7000fa757
Make sure that the timeout timer gets destroyed properly
...
refs #8554
2015-02-27 19:54:41 +01:00
Gunnar Beutner
9622b075bc
Use the main threadpool to disconnect API clients
...
refs #8554
2015-02-27 18:32:28 +01:00
Jean-Marcel Flach
9ed21563ff
Use RequestShutdown with exitcode instead of Application::Exit
...
fixes #8436
2015-02-27 14:43:30 +01:00
Gunnar Beutner
2884e8318d
Fix null pointer dereference in ApiClient::TimeoutTimerHandler
...
fixes #8553
2015-02-27 14:12:50 +01:00
Gunnar Beutner
bb2cdff435
Fix a deadlock in ApiClient::Disconnect
...
fixes #8549
2015-02-26 17:23:06 +01:00
Gunnar Beutner
4e8c5706e1
Don't send heartbeats during log replay
...
fixes #8461
refs #8485
2015-02-26 14:59:39 +01:00
Gunnar Beutner
c439ee6d9f
Fix a crash in ApiClient::TimeoutTimerHandler
...
refs #8485
2015-02-26 13:31:38 +01:00
Gunnar Beutner
1302f7c841
Improve log message for cluster connection timeouts
...
refs #8485
2015-02-26 13:09:13 +01:00
Gunnar Beutner
a3ccd2a1fb
Close client connections if we haven't received any messages in some time
...
refs #8485
2015-02-26 12:41:47 +01:00
Gunnar Beutner
2b44fcb571
Make sure that the 'connecting' flag is reset properly
...
refs #8485
2015-02-26 11:26:08 +01:00
Gunnar Beutner
5fe2536629
Add missing locks in ApiListener::UpdateConfigDir
2015-02-24 16:03:32 +01:00
Michael Friedrich
ba77d7b35f
ApiListener: Fix misleading connection log messages
...
fixes #8493
2015-02-20 15:11:44 +01:00
Gunnar Beutner
33e747ae2e
Don't require tickets for clients which already have a trusted certificate
...
fixes #8465
2015-02-18 08:13:44 +01:00
Gunnar Beutner
667b62cc3c
Improve log messages for ApiListener::ApiTimerHandler
2015-02-17 15:46:29 +01:00
Gunnar Beutner
d5c33d84f7
Fix a deadlock in ApiClient::~ApiClient
...
fixes #8462
2015-02-17 14:31:10 +01:00
Gunnar Beutner
1c7a0d03a1
Fix a case where NetString::ReadStringFromStream might incorrectly return StatusEof
...
refs #6109
2015-02-14 18:48:33 +01:00
Gunnar Beutner
f097e48889
Don't use separate threads for each ApiClient object
...
fixes #6109
2015-02-14 16:34:36 +01:00
Gunnar Beutner
e0bbfb175c
Move most of the socket I/O to a separate thread
...
fixes #8300
fixes #8243
2015-02-14 09:42:11 +01:00
Michael Friedrich
2cab6fbb9d
Make the argments for the stats functions const-ref
...
fixes #8433
2015-02-13 11:29:15 +01:00
Gunnar Beutner
b0f7a29212
Add missing spaces in some error messages
...
refs #7995
2015-02-10 08:57:54 +01:00
Gunnar Beutner
f07fb97264
Fix timestamp format for the .timestamp file
...
fixes #8313
2015-02-09 15:22:55 +01:00
Gunnar Beutner
97fc5bb10b
Implement additional attributes for the Host class
...
refs #7564
2015-02-09 08:50:17 +01:00
Gunnar Beutner
67e50a3d47
Config sync: Open config files in binary mode
...
fixes #8390
2015-02-09 07:44:45 +01:00
Michael Friedrich
21f86b9061
Fix authoritative zones in config sync
...
fixes #8388
refs #8256
2015-02-07 23:41:43 +01:00
Michael Friedrich
ea2ac81003
Remove name and return value for stats functions
...
fixes #6171
2015-02-07 22:36:17 +01:00
Michael Friedrich
289ca2ec24
Improve error messages on Endpoint not belonging to a zone or multiple zones
...
fixes #8372
2015-02-07 20:07:34 +01:00
Gunnar Beutner
88e1aadbf2
Use a separate thread for TLS connection attempts
...
fixes #8295
2015-01-28 08:35:36 +01:00
Michael Friedrich
78bfd0204c
Update copyright year
2015-01-22 12:00:23 +01:00
Gunnar Beutner
310278344c
Make sure we don't include zones.d directories for zones which were removed
...
fixes #8256
2015-01-20 13:18:40 +01:00
Gunnar Beutner
55b7f00382
Remove unnecessary includes
2014-12-15 10:16:06 +01:00
Gunnar Beutner
c70623ec7c
Add log message for heartbeat timeouts
...
refs #7745
2014-12-10 09:57:08 +01:00