Gunnar Beutner
890694e629
Implement support for filters
...
fixes #9077
2015-07-28 13:57:59 +02:00
Michael Friedrich
fa3d380dff
Fix a problem where invalid stage config could lead into broken stages
...
refs #9103
refs #9083
2015-07-24 16:05:13 +02:00
Michael Friedrich
fca7a33aac
Implement config file management for the API
...
refs #9083
fixes #9102
fixes #9103
fixes #9104
fixes #9705
2015-07-23 17:57:24 +02:00
Michael Friedrich
43ff15cf86
Fix problem with child nodes in http url registry
...
fixes #9703
2015-07-22 12:27:07 +02:00
Gunnar Beutner
6c3bafb722
Implement support for the X-HTTP-Method-Override HTTP header
...
fixes #9698
2015-07-22 08:28:15 +02:00
Gunnar Beutner
f1a95e3340
Fix incorrect filename in ApiListener::SyncZoneDir
...
refs #9083
2015-07-21 11:45:53 +02:00
Gunnar Beutner
ccd63b9d15
Implement the include_zones directive
...
refs #9083
2015-07-21 09:32:17 +02:00
Michael Friedrich
4bc42281be
Build fix for Linux
...
refs #9647
2015-07-20 17:21:27 +02:00
Gunnar Beutner
e47d5006d2
Build fix for Windows
...
refs #9647
2015-07-20 13:41:58 +02:00
Jean-Marcel Flach
b9a4a64249
Move url handler to /lib/remote
...
fixes #9647
2015-07-16 13:35:32 +02:00
Gunnar Beutner
ceea8a24d3
Add missing HTTP response headers
...
refs #9594
2015-07-13 08:29:48 +02:00
Michael Friedrich
269e79647f
Rename HttpRequest.Url to HttpRequest.RequestUrl
...
Otherwise gcc will break with the Url class, clang works.
refs #9447
2015-07-09 17:32:19 +02:00
Michael Friedrich
8bf949852a
API: Implement password- and certificate-based authentication
...
fixes #9086
fixes #9085
refs #9594
2015-07-09 15:27:14 +02:00
Michael Friedrich
f8f86d89a4
Add ApiUser::GetByClientCN()
...
refs #9471
refs #9086
2015-07-09 15:25:51 +02:00
Michael Friedrich
58a3cd7fef
Add Base64::{En,De]code()
...
fixes #9594
2015-07-09 15:20:47 +02:00
Michael Friedrich
9b469453a7
Fix compiler warnings
...
refs #9447
2015-07-09 12:46:04 +02:00
Michael Friedrich
14baa4a79b
Build fix
...
refs #9447
2015-07-09 12:28:15 +02:00
Gunnar Beutner
b357012ded
Implement HTTP support
...
refs #9447
2015-07-09 11:42:34 +02:00
Michael Friedrich
8450cb5d6c
MAke ApiUser::CheckPassword() const
...
refs #9471
2015-07-02 09:26:43 +02:00
Michael Friedrich
14f5986aa5
Implement the ApiUser object type
...
Hide password in GetPassword() and add CheckPassword().
Includes basic unit tests.
refs #9471
2015-06-24 14:28:52 +02:00
Gunnar Beutner
8dcb4efa5e
Fix stability issues with the TlsStream/Stream classes
...
fixes #9481
2015-06-24 09:48:55 +02:00
Markus Frosch
cfbe82d841
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-06-15 14:47:04 +02:00
Gunnar Beutner
72a7b08480
Move implementation code from thpp files into separate files
...
fixes #8890
2015-03-28 11:08:12 +01:00
Gunnar Beutner
ec7224e3ed
Generate C++ code for type validators
...
fixes #7709
fixes #8867
2015-03-27 07:59:27 +01:00
Michael Friedrich
8573636cc9
Fix crash in Dependency::Stop()
...
This partially reverts the fix in #8436
fixes #8687
refs #8436
2015-03-12 11:44:55 +01:00
Gunnar Beutner
44114232d3
Fix timeout problem with API heartbeat messages
...
fixes #8672
2015-03-11 12:53:43 +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