]>
git.ipfire.org Git - thirdparty/kea.git/log
Thomas Markwalder [Sat, 3 Apr 2021 17:28:54 +0000 (13:28 -0400)]
[#1733] Revised parking lot rules
Reversed parking rules: now an object must be parked before
it can be referenced instead of the other way around.
src/bin/dhcp4/dhcp4_srv.cc
Commentary clean up
src/hooks/dhcp/high_availability/ha_impl.cc
HAImpl::leases4Committed() - modified to create the parking
lot reference before calling asyncSendLeaseUpdates(), and
remove it if the function returns 0 indicating no updates to
wait upon.
src/lib/hooks/hooks_manager.h
HooskManager::park() - revert addition of require_reference_ parameter.
src/lib/hooks/parking_lots.h
A parked object can only be parked once.
A reference may only be created (or removed) if the object has been parked.
reference() and dereference() return the new reference count.
src/lib/hooks/tests/hooks_manager_unittest.cc
Updated to tests to park first, reference, and then call callouts.
src/lib/hooks/tests/parking_lots_unittest.cc
Modified tests to reflect new behavior.
Thomas Markwalder [Thu, 1 Apr 2021 20:38:43 +0000 (16:38 -0400)]
[#1733] kea-dhcp4 now implements Core Packet Parking
Initial working implementation.
src/bin/dhcp4/dhcp4_srv.cc
Dhcpv4Srv::processDhcp4Query() - reworked to
proactively park the packet if lease4_commited callouts
are installed.
src/lib/hooks/hooks_manager.h
HooksManager::park() - added require_reference parameter
src/lib/hooks/parking_lots.h
ParkingLot::park() - set refcount to zero, when added
without pre-existing reference
Thomas Markwalder [Wed, 31 Mar 2021 20:14:26 +0000 (16:14 -0400)]
[#1733] Parking lot enchancements
src/lib/hooks/parking_lots.h
ParkingLot now stores objects in a map instead of list to eliminate
sequential searches
ParkingLotHandle::park() - now allows parking without a pre-existing
reference
ParkingLotHandle::deference() - new method that decrements parked
object reference counts without invoking their callback
src/lib/hooks/tests/parking_lots_unittest.cc
TEST(ParkingLotsTest, parkRequireReferenceTests)
TEST(ParkingLotTest, dereference)
TEST(ParkingLotTest, multipleObjects) - new tests
Francis Dupont [Fri, 2 Apr 2021 11:59:56 +0000 (13:59 +0200)]
[#1515] Addressed known bugs
Thomas Markwalder [Thu, 8 Apr 2021 12:58:27 +0000 (08:58 -0400)]
[#1732] Fixed a typo.
Thomas Markwalder [Thu, 8 Apr 2021 12:52:34 +0000 (08:52 -0400)]
[#1732] More formatting nits.
Thomas Markwalder [Thu, 8 Apr 2021 11:16:22 +0000 (07:16 -0400)]
[#1732] Addressed more review comments.
Mostly formatting and typos.
modified:
src/lib/http/client.cc
src/lib/http/tests/mt_client_unittests.cc
Thomas Markwalder [Wed, 7 Apr 2021 17:21:36 +0000 (13:21 -0400)]
[#1732] Addressed review comments
Largely cosmetic and minor code clean ups:
modified:
src/lib/http/client.*
src/lib/http/client.h
src/lib/http/url.h
src/lib/http/tests/mt_client_unittests.cc
Thomas Markwalder [Wed, 7 Apr 2021 11:46:35 +0000 (07:46 -0400)]
[#1732] Removed TOMS_TRACE from client.cc
Removed my development debugging junk.
modified:
src/lib/http/client.cc
Thomas Markwalder [Tue, 30 Mar 2021 19:42:45 +0000 (15:42 -0400)]
[#1732] Clean up for loops in test code.
modified: mt_client_unittests.cc
Thomas Markwalder [Tue, 30 Mar 2021 17:43:25 +0000 (13:43 -0400)]
[#1732] Fix sphinx doc build error
src/lib/http/http_messages.mes
Changed "current_transid_" to "current_transid".
Apparently the trailing underscore made it a
RST target name.
Thomas Markwalder [Tue, 30 Mar 2021 15:56:24 +0000 (11:56 -0400)]
[#1732] MT client tests include multiple listeners
src/lib/http/tests/mt_client_unittests.cc
Revamped to test with multiple listeners.
Thomas Markwalder [Mon, 29 Mar 2021 14:01:30 +0000 (10:01 -0400)]
[#1732] Minor clean up
modified:
src/lib/http/client.h
src/lib/http/tests/mt_client_unittests.cc
Thomas Markwalder [Fri, 26 Mar 2021 20:43:37 +0000 (16:43 -0400)]
[#1732] Refactored internal HttpClient classes
src/lib/http/client.cc
Refactored, connections and request queue are now managed together
as part of a URL destination.
src/lib/http/url.cc
Url::operator<(const Url& url) - compares original
unparsed string rather then reconstructing a new string for
both operands every time
Thomas Markwalder [Thu, 25 Mar 2021 17:45:59 +0000 (13:45 -0400)]
[#1732] HttpClient ST/MT modes fully function with unit tests
HttpClient now supports both single and multi threaded modes.
MT mode is not currently used anywhere other than unit tests.
src/lib/http/client.*
Added commentary, spell-check, cleanup
src/lib/http/http_log.h
removed TOMS_TRACE_LOG
src/lib/http/tests/mt_client_unittests.cc
Expanded testing
Clean up
jenkins [Wed, 24 Mar 2021 13:54:20 +0000 (13:54 +0000)]
[#1732] Changes after rebasing and TSAN run
src/lib/http/http_messages.h modified: src/lib/http/tests/mt_client_unittests.cc
- fixed read/write TSAN error
jenkins [Wed, 24 Mar 2021 12:16:39 +0000 (12:16 +0000)]
[#1732] Prelimnary commit of MT client changes
src/lib/http/client.cc
int getSocketFd() - new function for logging purposes only
ConnectionList - new class to store a lists of connections
for a given url
ConnectionPool - modified support multiple connections per url
HttpClientImpl - supports ST and MT mode, for the latter it
manages a thread pool driven by a private IOService instance
HttpClient::HttpClient - sanity checks MT use
HttpClient::~HttpClient - invokes stop() method
src/lib/http/http_messages.mes
new log messeage HTTP_CLIENT_MT_STARTED
src/lib/http/tests/mt_client_unittests.cc
- new file of unit tests for MT HttpClient operation
Andrei Pavel [Wed, 31 Mar 2021 17:15:15 +0000 (20:15 +0300)]
[#1787] updates to the release checklist
Andrei Pavel [Thu, 1 Apr 2021 13:16:42 +0000 (16:16 +0300)]
[#1788] remove "-git" from the version in the ARM
Andrei Pavel [Tue, 30 Mar 2021 21:52:42 +0000 (00:52 +0300)]
[#1785] FreeBSD mentions in platforms.rst
and add EOL dates for unsupported distributions
Francis Dupont [Thu, 1 Apr 2021 12:28:28 +0000 (14:28 +0200)]
[#1779] Added ChangeLog entry
Francis Dupont [Tue, 30 Mar 2021 13:02:44 +0000 (15:02 +0200)]
[#1779] Added a text for handshake failure
Andrei Pavel [Wed, 31 Mar 2021 18:12:16 +0000 (21:12 +0300)]
[#1789] fix doxygen errors
Andrei Pavel [Wed, 31 Mar 2021 18:11:58 +0000 (21:11 +0300)]
[#1789] update Doxyfile
Andrei Pavel [Wed, 31 Mar 2021 17:05:29 +0000 (20:05 +0300)]
[#1786] this is the start of development for 1.9.7
Andrei Pavel [Mon, 29 Mar 2021 20:27:17 +0000 (23:27 +0300)]
[#1772] respect ChangeLog line limit
Andrei Pavel [Mon, 29 Mar 2021 20:24:23 +0000 (23:24 +0300)]
[#1772] respect ChangeLog line limit
Andrei Pavel [Fri, 26 Mar 2021 11:39:59 +0000 (13:39 +0200)]
[#1772] update URLs to AWS Jenkins in checklist
Andrei Pavel [Fri, 26 Mar 2021 09:40:52 +0000 (11:40 +0200)]
[#1772] update platforms.rst
Andrei Pavel [Mon, 29 Mar 2021 19:08:18 +0000 (22:08 +0300)]
[#1772] bump library versions
Andrei Pavel [Fri, 26 Mar 2021 11:51:56 +0000 (13:51 +0200)]
[#1772] fix tools/bump-lib-versions.sh
Andrei Pavel [Mon, 29 Mar 2021 18:53:47 +0000 (21:53 +0300)]
[#1772] regenerate parsers
Andrei Pavel [Mon, 29 Mar 2021 18:47:05 +0000 (21:47 +0300)]
[#1772] changelog, copyrights, messages
Razvan Becheriu [Mon, 29 Mar 2021 17:44:12 +0000 (20:44 +0300)]
[#1621] addressed comments
Razvan Becheriu [Mon, 29 Mar 2021 16:48:07 +0000 (19:48 +0300)]
[#1621] fixed a bug which was not creating host and CB manager on recovey
Razvan Becheriu [Fri, 26 Mar 2021 15:06:38 +0000 (17:06 +0200)]
[#1621] regenerated parsers and updated documentation
Razvan Becheriu [Fri, 26 Mar 2021 14:23:48 +0000 (16:23 +0200)]
[#1621] fixed typos and bug which prevents configuring values for "on-fail"
Razvan Becheriu [Fri, 26 Mar 2021 06:37:59 +0000 (08:37 +0200)]
[#1621] fixed doxygen
Razvan Becheriu [Fri, 26 Mar 2021 06:33:11 +0000 (08:33 +0200)]
[#1621] fixed error message
Razvan Becheriu [Thu, 25 Mar 2021 22:09:06 +0000 (00:09 +0200)]
[#1621] fix throw type on invalid action
Razvan Becheriu [Thu, 25 Mar 2021 21:55:33 +0000 (23:55 +0200)]
[#1621] updated ChangeLog
Razvan Becheriu [Thu, 25 Mar 2021 21:27:38 +0000 (23:27 +0200)]
[#1621] implemented "on-fail" action for connection recovery
Razvan Becheriu [Wed, 24 Mar 2021 06:19:00 +0000 (08:19 +0200)]
[#1621] disabling connection recovery mechanish is not available in core managers
Razvan Becheriu [Fri, 19 Mar 2021 08:53:20 +0000 (10:53 +0200)]
[#1621] updated unittests
Razvan Becheriu [Fri, 19 Mar 2021 08:04:27 +0000 (10:04 +0200)]
[#1621] added documentation
Razvan Becheriu [Fri, 19 Mar 2021 07:24:54 +0000 (09:24 +0200)]
[#1621] add enable-connection-recovery parameter to configure connection recovery
Razvan Becheriu [Thu, 18 Mar 2021 21:32:07 +0000 (23:32 +0200)]
[#1621] addressed comments
Razvan Becheriu [Thu, 18 Mar 2021 20:17:42 +0000 (22:17 +0200)]
[#1621] updated parsers
Razvan Becheriu [Thu, 18 Mar 2021 19:58:03 +0000 (21:58 +0200)]
[#1621] add disable-dhcp-on-db-loss parameter to configure network state effect
Razvan Becheriu [Wed, 17 Mar 2021 15:32:54 +0000 (17:32 +0200)]
[#1621] addressed comments
Razvan Becheriu [Wed, 17 Mar 2021 14:42:17 +0000 (16:42 +0200)]
[#1621] added ChangeLog
Razvan Becheriu [Wed, 17 Mar 2021 14:33:32 +0000 (16:33 +0200)]
[#1621] add lazy retrieval for connection IOService
Razvan Becheriu [Wed, 17 Mar 2021 14:28:01 +0000 (16:28 +0200)]
[#1621] add lazy retrieval for connection IOService
Razvan Becheriu [Thu, 4 Mar 2021 06:40:31 +0000 (08:40 +0200)]
[#1621] fixed disable network state for connections
Francis Dupont [Mon, 29 Mar 2021 17:05:04 +0000 (19:05 +0200)]
[#1775] Fixed TEST_CA_DIR
Francis Dupont [Mon, 29 Mar 2021 16:39:02 +0000 (18:39 +0200)]
[#1775] Updated configure.ac
Andrei Pavel [Mon, 29 Mar 2021 14:55:33 +0000 (17:55 +0300)]
[#1775] move TLS test to shell library
Francis Dupont [Mon, 29 Mar 2021 09:38:09 +0000 (11:38 +0200)]
[#1758] Addressed comment
Francis Dupont [Mon, 29 Mar 2021 09:27:12 +0000 (11:27 +0200)]
[#1758] Updated gitignore
Francis Dupont [Fri, 26 Mar 2021 21:08:15 +0000 (22:08 +0100)]
[#1758] Added ChangeLog entry
Francis Dupont [Fri, 26 Mar 2021 21:03:21 +0000 (22:03 +0100)]
[#1758] Added a note in HA doc
Francis Dupont [Thu, 25 Mar 2021 22:28:20 +0000 (23:28 +0100)]
[#1758] Added checks and tests
Thomas Markwalder [Fri, 26 Mar 2021 19:08:46 +0000 (15:08 -0400)]
[#1741] Removed undefined function from in http/response.h
src/lib/http/response.h
HttpResponse::getBodyAsJson() - unnecessary, removed it
Francis Dupont [Sat, 27 Mar 2021 11:09:33 +0000 (12:09 +0100)]
[#1774] Typo in ChangeLog
Francis Dupont [Sat, 27 Mar 2021 09:35:09 +0000 (10:35 +0100)]
[#1774] Edited ChangeLog
Francis Dupont [Sat, 27 Mar 2021 09:18:22 +0000 (10:18 +0100)]
[#1774] Added cut and TLS support report
manu [Fri, 26 Mar 2021 18:37:43 +0000 (19:37 +0100)]
Change the comments
Michal Nowikowski [Fri, 26 Mar 2021 14:11:53 +0000 (15:11 +0100)]
[#1761] addressed review issues
manu [Tue, 16 Feb 2021 10:50:25 +0000 (11:50 +0100)]
[#1761] hammer: Jenkins migration to AWS
Francis Dupont [Fri, 26 Mar 2021 16:18:11 +0000 (17:18 +0100)]
[#1773] Making (hopefully) Jenkins happy
Francis Dupont [Fri, 26 Mar 2021 14:41:46 +0000 (15:41 +0100)]
[#1662] Added ChangeLog entry (tentative)
Francis Dupont [Fri, 26 Mar 2021 14:36:03 +0000 (15:36 +0100)]
[#1662] Removed old todo
Francis Dupont [Thu, 25 Mar 2021 18:29:18 +0000 (19:29 +0100)]
[#1662] Fixed netconf build
Francis Dupont [Thu, 25 Mar 2021 14:25:32 +0000 (15:25 +0100)]
[#1662] Enabled the TLS test
Francis Dupont [Thu, 25 Mar 2021 13:38:41 +0000 (14:38 +0100)]
[#1662] Removed unused parameters
Francis Dupont [Thu, 25 Mar 2021 10:48:42 +0000 (11:48 +0100)]
[#1662] Checkpoint: addressing comments
Francis Dupont [Thu, 25 Mar 2021 10:02:37 +0000 (11:02 +0100)]
[#1662] Updates from previous work
Francis Dupont [Wed, 24 Mar 2021 08:52:04 +0000 (09:52 +0100)]
[#1662] Updated doc (not finished: depends on 1664)
Francis Dupont [Wed, 24 Mar 2021 08:46:31 +0000 (09:46 +0100)]
[#1662] Fixed rebased libraries
Francis Dupont [Wed, 24 Mar 2021 08:45:31 +0000 (09:45 +0100)]
[#1662] Fixed rebased libraries
Francis Dupont [Fri, 12 Mar 2021 12:53:06 +0000 (13:53 +0100)]
[#1662] Rehashed
Francis Dupont [Fri, 12 Mar 2021 12:31:53 +0000 (13:31 +0100)]
[#1662] Fixed rebase
Francis Dupont [Tue, 2 Mar 2021 12:20:22 +0000 (13:20 +0100)]
[#1662] Fixed initializations (CID
1473450 (
Francis Dupont [Wed, 24 Feb 2021 09:16:17 +0000 (10:16 +0100)]
[#1662] Completed new system test
Francis Dupont [Tue, 23 Feb 2021 19:40:30 +0000 (20:40 +0100)]
[#1662] Added system test
Francis Dupont [Tue, 23 Feb 2021 10:07:49 +0000 (11:07 +0100)]
[#1662] Checkpoint: updated glue
Francis Dupont [Mon, 22 Feb 2021 20:28:02 +0000 (21:28 +0100)]
[#1662] Added glue
Francis Dupont [Mon, 22 Feb 2021 16:10:34 +0000 (17:10 +0100)]
[#1661] Renamed samples
Francis Dupont [Fri, 12 Mar 2021 11:13:17 +0000 (12:13 +0100)]
[#1661] Fixed rebase
Francis Dupont [Mon, 8 Mar 2021 17:16:44 +0000 (18:16 +0100)]
[#1661] Addressed some 1661 comments (port)
Francis Dupont [Mon, 22 Feb 2021 16:10:34 +0000 (17:10 +0100)]
[#1661] Renamed samples
Francis Dupont [Mon, 22 Feb 2021 13:03:39 +0000 (14:03 +0100)]
[#1661] Moved to cpp03 server example
Francis Dupont [Mon, 22 Feb 2021 09:06:45 +0000 (10:06 +0100)]
[#1661] Fixed build on last Fedora
Francis Dupont [Fri, 19 Feb 2021 14:22:27 +0000 (15:22 +0100)]
[#1661] Added shutdown
Francis Dupont [Sun, 14 Feb 2021 17:45:26 +0000 (18:45 +0100)]
[#1661] Checkpoint: did asiolink (but need more UTs)
Andrei Pavel [Thu, 18 Mar 2021 17:17:11 +0000 (19:17 +0200)]
[#1760] regenerate parsers
Andrei Pavel [Thu, 18 Mar 2021 08:22:04 +0000 (10:22 +0200)]
[#1760] spell checks
Andrei Pavel [Thu, 25 Mar 2021 13:58:26 +0000 (15:58 +0200)]
[#1770] replace complicated bc command with awk
Razvan Becheriu [Thu, 25 Mar 2021 19:16:47 +0000 (21:16 +0200)]
[#1697] addressed comments
Razvan Becheriu [Thu, 25 Mar 2021 17:23:38 +0000 (19:23 +0200)]
[#1697] addressed comments