]> git.ipfire.org Git - thirdparty/kea.git/log
thirdparty/kea.git
3 years ago[#2619] use enum instead of bool
Razvan Becheriu [Wed, 16 Nov 2022 13:47:44 +0000 (15:47 +0200)] 
[#2619] use enum instead of bool

3 years ago[#2601] addressed review comments
Razvan Becheriu [Fri, 25 Nov 2022 20:31:38 +0000 (22:31 +0200)] 
[#2601] addressed review comments

3 years ago[#2601] address review comments
Andrei Pavel [Thu, 24 Nov 2022 17:03:44 +0000 (19:03 +0200)] 
[#2601] address review comments

* make all-keys.json loadable by Kea again
* formatting
* EXPECT_NO_THROW -> EXPECT_NO_THROW_LOG
* add missing YANG tests for i64 and ui64
* memmove -> memcpy
* fix doxygen comments
* make checking of empty containers consistent when retrieving YANG data
* remove unnecessary setting of v6 YANG nodes for v4 modules
* fix hash of keatest-module.yang

3 years ago[#2601] restore unnecessary changes in all-keys-netconf.json
Andrei Pavel [Tue, 22 Nov 2022 15:27:37 +0000 (17:27 +0200)] 
[#2601] restore unnecessary changes in all-keys-netconf.json

3 years ago[#2601] fix YANG compilation: use SubnetIDSet from dhcpsrv
Andrei Pavel [Tue, 22 Nov 2022 14:05:59 +0000 (16:05 +0200)] 
[#2601] fix YANG compilation: use SubnetIDSet from dhcpsrv

3 years ago[#2601] bump versions of libyang and sysrepo dependencies
Andrei Pavel [Wed, 9 Nov 2022 08:51:43 +0000 (10:51 +0200)] 
[#2601] bump versions of libyang and sysrepo dependencies

3 years ago[#2601] add ChangeLog entry
Andrei Pavel [Tue, 8 Nov 2022 10:19:50 +0000 (12:19 +0200)] 
[#2601] add ChangeLog entry

3 years ago[#2601] remove the use of const_pointer_cast in NETCONF code
Andrei Pavel [Tue, 8 Nov 2022 12:09:18 +0000 (14:09 +0200)] 
[#2601] remove the use of const_pointer_cast in NETCONF code

If the casted element is mutated after the fact,
there may be undefined behavior.

3 years ago[#2601] fix typos in NETCONF code
Andrei Pavel [Tue, 8 Nov 2022 10:12:53 +0000 (12:12 +0200)] 
[#2601] fix typos in NETCONF code

3 years ago[#2601] update YANG developer guide
Andrei Pavel [Tue, 8 Nov 2022 10:02:29 +0000 (12:02 +0200)] 
[#2601] update YANG developer guide

3 years ago[#2601] fix doxygen and add override final
Andrei Pavel [Tue, 8 Nov 2022 09:18:28 +0000 (11:18 +0200)] 
[#2601] fix doxygen and add override final

3 years ago[#2601] remove std:: prefix from .cc files
Andrei Pavel [Tue, 8 Nov 2022 08:58:49 +0000 (10:58 +0200)] 
[#2601] remove std:: prefix from .cc files

3 years ago[#2601] add Translator::checkAndSet
Andrei Pavel [Tue, 8 Nov 2022 08:49:58 +0000 (10:49 +0200)] 
[#2601] add Translator::checkAndSet

3 years ago[#2601] remove schema node checking from translator
Andrei Pavel [Tue, 8 Nov 2022 08:20:06 +0000 (10:20 +0200)] 
[#2601] remove schema node checking from translator

3 years ago[#2601] make Translator aware of all leaf base types
Andrei Pavel [Mon, 7 Nov 2022 15:43:07 +0000 (17:43 +0200)] 
[#2601] make Translator aware of all leaf base types

Also add leafrefs and the empty leaf to the keatest-module.
And add tests for those, and also unions, dec64, int64, uint64.

3 years ago[#2601] rename TranslatorBasic to Translator
Andrei Pavel [Mon, 7 Nov 2022 07:52:21 +0000 (09:52 +0200)] 
[#2601] rename TranslatorBasic to Translator

3 years ago[#2601] remove std:: prefix from .cc files
Andrei Pavel [Tue, 1 Nov 2022 14:13:25 +0000 (16:13 +0200)] 
[#2601] remove std:: prefix from .cc files

3 years ago[#2601] update the YANG modules with three extra nodes
Andrei Pavel [Tue, 8 Nov 2022 10:21:44 +0000 (12:21 +0200)] 
[#2601] update the YANG modules with three extra nodes

* extended-info-checks
* ignore-rai-link-selection
* template-test

3 years ago[#2601] use checkAnd{Get,Set} where possible
Andrei Pavel [Tue, 1 Nov 2022 14:06:45 +0000 (16:06 +0200)] 
[#2601] use checkAnd{Get,Set} where possible

3 years ago[#2601] make NETCONF_SUBSCRIBE_NOTIFICATIONS_FAILED a warning
Andrei Pavel [Tue, 1 Nov 2022 08:10:12 +0000 (10:10 +0200)] 
[#2601] make NETCONF_SUBSCRIBE_NOTIFICATIONS_FAILED a warning

3 years ago[#2601] clean up header includes and makefiles in NETCONF code
Andrei Pavel [Mon, 31 Oct 2022 16:27:42 +0000 (18:27 +0200)] 
[#2601] clean up header includes and makefiles in NETCONF code

3 years ago[#2601] renames in NETCONF code
Andrei Pavel [Mon, 31 Oct 2022 14:50:48 +0000 (16:50 +0200)] 
[#2601] renames in NETCONF code

* subscribeConfig -> subscribeToDataChanges

And mainly to appease doxygen:
* translate(DataNode, string) -> translateFromYang(DataNode, string)
* translate(ElementPtr, LeafBaseType) -> translateToYang(ElementPtr, LeafBaseType)
* get*(xpath) -> get*FromAbsoluteXpath(xpath)

3 years ago[#2601] use std smart pointers where possible
Andrei Pavel [Mon, 31 Oct 2022 13:42:48 +0000 (15:42 +0200)] 
[#2601] use std smart pointers where possible

3 years ago[#2601] typedef -> using
Andrei Pavel [Mon, 31 Oct 2022 13:31:29 +0000 (15:31 +0200)] 
[#2601] typedef -> using

3 years ago[#2601] remove empty constructors and destructors
Andrei Pavel [Mon, 31 Oct 2022 13:26:43 +0000 (15:26 +0200)] 
[#2601] remove empty constructors and destructors

3 years ago[#2601] EXPECT_THROW -> EXPECT_THROW_MSG
Andrei Pavel [Mon, 31 Oct 2022 12:40:27 +0000 (14:40 +0200)] 
[#2601] EXPECT_THROW -> EXPECT_THROW_MSG

3 years ago[#2601] EXPECT_NO_THROW -> EXPECT_NO_THROW_LOG
Andrei Pavel [Mon, 31 Oct 2022 12:13:27 +0000 (14:13 +0200)] 
[#2601] EXPECT_NO_THROW -> EXPECT_NO_THROW_LOG

3 years ago[#2601] decode64 and encode64 are now methods in TranslatorBasic
Andrei Pavel [Mon, 31 Oct 2022 12:00:39 +0000 (14:00 +0200)] 
[#2601] decode64 and encode64 are now methods in TranslatorBasic

3 years ago[#2601] aliases for service_pair.{first,second}
Andrei Pavel [Mon, 31 Oct 2022 10:08:16 +0000 (12:08 +0200)] 
[#2601] aliases for service_pair.{first,second}

3 years ago[#2601] renames in NETCONF code
Andrei Pavel [Mon, 31 Oct 2022 09:50:56 +0000 (11:50 +0200)] 
[#2601] renames in NETCONF code

* s_val -> data_node or value
* SysrepoError -> NetconfError
* sysrepo_error.h -> netconf_error.h
* TranslatorBasic::delItem() -> TranslatorBasic::deleteItem()
* TranslatorBasic::value() -> TranslatorBasic::translate()

3 years ago[#2472] update flex-id ignore-iaid documentation
Andrei Pavel [Fri, 25 Nov 2022 09:33:21 +0000 (11:33 +0200)] 
[#2472] update flex-id ignore-iaid documentation

3 years ago[#2472] updated documentation
Razvan Becheriu [Thu, 24 Nov 2022 16:20:55 +0000 (18:20 +0200)] 
[#2472] updated documentation

3 years ago[#2472] updated documentation for ignore-iaid parameter in flex_id hooks library
Razvan Becheriu [Thu, 10 Nov 2022 15:12:46 +0000 (17:12 +0200)] 
[#2472] updated documentation for ignore-iaid parameter in flex_id hooks library

3 years ago[#2600] Added comments
Francis Dupont [Tue, 22 Nov 2022 15:38:38 +0000 (16:38 +0100)] 
[#2600] Added comments

3 years ago[#2600] Added tests
Francis Dupont [Thu, 17 Nov 2022 16:55:49 +0000 (17:55 +0100)] 
[#2600] Added tests

3 years ago[#2600] Checkpoint: code done, tests to do
Francis Dupont [Thu, 17 Nov 2022 09:55:08 +0000 (10:55 +0100)] 
[#2600] Checkpoint: code done, tests to do

3 years ago[#2348] fix portable compilation issue
Andrei Pavel [Tue, 22 Nov 2022 07:33:12 +0000 (09:33 +0200)] 
[#2348] fix portable compilation issue

 allocation_state_unittest.cc:35:5:   required from here
 /usr/src/googletest/googletest/include/gtest/gtest.h:1392:11: error: no match for ‘operator==’ (operand types are ‘const boost::date_time::special_values’ and ‘const boost::posix_time::ptime’)
    if (lhs == rhs) {
        ~~~~^~~~~~

3 years ago[#2643] Addressed comments
Francis Dupont [Mon, 21 Nov 2022 14:31:05 +0000 (15:31 +0100)] 
[#2643] Addressed comments

3 years ago[#2643] Done: ported code and tests
Francis Dupont [Fri, 18 Nov 2022 14:05:38 +0000 (15:05 +0100)] 
[#2643] Done: ported code and tests

3 years ago[#2643] Checkpoint: ported code, tests to port
Francis Dupont [Fri, 18 Nov 2022 10:50:06 +0000 (11:50 +0100)] 
[#2643] Checkpoint: ported code, tests to port

3 years ago[#2348] Deleted subnet c-ctor and assignment op
Marcin Siodelski [Mon, 21 Nov 2022 07:38:15 +0000 (08:38 +0100)] 
[#2348] Deleted subnet c-ctor and assignment op

3 years ago[#2348] Addressed review comments
Marcin Siodelski [Wed, 16 Nov 2022 10:18:49 +0000 (11:18 +0100)] 
[#2348] Addressed review comments

- Remove unused AllocEngine ctor parameter
- Simplify locks
- Use default keyword instead of an empty implementation in dtors
- Fix typos

3 years ago[#2348] Code alignment fix
Marcin Siodelski [Fri, 21 Oct 2022 17:01:22 +0000 (19:01 +0200)] 
[#2348] Code alignment fix

3 years ago[#2348] Removed unused variable
Marcin Siodelski [Fri, 21 Oct 2022 14:55:45 +0000 (16:55 +0200)] 
[#2348] Removed unused variable

3 years ago[#2348] Doxygen cleanup
Marcin Siodelski [Thu, 20 Oct 2022 19:14:30 +0000 (21:14 +0200)] 
[#2348] Doxygen cleanup

3 years ago[#2348] Removed type from engine constructor
Marcin Siodelski [Thu, 20 Oct 2022 18:30:19 +0000 (20:30 +0200)] 
[#2348] Removed type from engine constructor

3 years ago[#2348] Allocator is a subnet property
Marcin Siodelski [Thu, 20 Oct 2022 16:10:47 +0000 (18:10 +0200)] 
[#2348] Allocator is a subnet property

3 years ago[#2348] Allocation states in separate classes
Marcin Siodelski [Fri, 14 Oct 2022 16:34:40 +0000 (18:34 +0200)] 
[#2348] Allocation states in separate classes

3 years ago[#2348] Moved allocators outside the engine
Marcin Siodelski [Thu, 13 Oct 2022 06:03:20 +0000 (08:03 +0200)] 
[#2348] Moved allocators outside the engine

3 years ago[#2606] update documentation
Andrei Pavel [Fri, 18 Nov 2022 09:24:56 +0000 (11:24 +0200)] 
[#2606] update documentation

3 years ago[#2606] updated documentation
Razvan Becheriu [Thu, 17 Nov 2022 14:22:51 +0000 (16:22 +0200)] 
[#2606] updated documentation

3 years ago[#2606] updated documentation
Razvan Becheriu [Thu, 17 Nov 2022 13:41:59 +0000 (15:41 +0200)] 
[#2606] updated documentation

3 years ago[#2606] added missing unittests
Razvan Becheriu [Fri, 28 Oct 2022 19:23:48 +0000 (22:23 +0300)] 
[#2606] added missing unittests

3 years ago[#2606] added documentation for template-classes
Razvan Becheriu [Fri, 28 Oct 2022 17:42:00 +0000 (20:42 +0300)] 
[#2606] added documentation for template-classes

3 years ago[#2635] Fixed some errors
Francis Dupont [Thu, 17 Nov 2022 10:41:13 +0000 (11:41 +0100)] 
[#2635] Fixed some errors

3 years ago[#2615] add ALL class before all hookpoints
Razvan Becheriu [Wed, 16 Nov 2022 15:46:32 +0000 (17:46 +0200)] 
[#2615] add ALL class before all hookpoints

3 years ago[#2615] added ChangeLog entry
Razvan Becheriu [Wed, 16 Nov 2022 13:55:12 +0000 (15:55 +0200)] 
[#2615] added ChangeLog entry

3 years ago[#2615] fixed limits with built-in classes
Razvan Becheriu [Thu, 27 Oct 2022 16:07:29 +0000 (19:07 +0300)] 
[#2615] fixed limits with built-in classes

3 years ago[#2596] Addressed comments
Francis Dupont [Mon, 14 Nov 2022 13:36:43 +0000 (14:36 +0100)] 
[#2596] Addressed comments

3 years ago[#2596] Updated code for link address
Francis Dupont [Wed, 9 Nov 2022 07:44:47 +0000 (08:44 +0100)] 
[#2596] Updated code for link address

3 years ago[#2596] Clear tables before rebuild
Francis Dupont [Mon, 31 Oct 2022 09:11:12 +0000 (10:11 +0100)] 
[#2596] Clear tables before rebuild

3 years ago[#2596] Revamped buildExtendedInfoTables6
Francis Dupont [Sat, 29 Oct 2022 18:06:26 +0000 (20:06 +0200)] 
[#2596] Revamped buildExtendedInfoTables6

3 years ago[#2596] Extended buildExtendedInfoTables6
Francis Dupont [Fri, 28 Oct 2022 20:40:03 +0000 (22:40 +0200)] 
[#2596] Extended buildExtendedInfoTables6

3 years ago[#2596] Added buildExtendedInfoTables6 tests
Francis Dupont [Tue, 18 Oct 2022 23:40:54 +0000 (01:40 +0200)] 
[#2596] Added buildExtendedInfoTables6 tests

3 years ago[#2596] Post rebase updates
Francis Dupont [Tue, 18 Oct 2022 21:21:26 +0000 (23:21 +0200)] 
[#2596] Post rebase updates

3 years ago[#2596] Post rebase updates
Francis Dupont [Tue, 18 Oct 2022 16:37:19 +0000 (18:37 +0200)] 
[#2596] Post rebase updates

3 years ago[#2596] Almost finished
Francis Dupont [Tue, 18 Oct 2022 08:17:19 +0000 (10:17 +0200)] 
[#2596] Almost finished

3 years ago[#2596] Checkpoint: one UT to add
Francis Dupont [Mon, 17 Oct 2022 23:47:02 +0000 (01:47 +0200)] 
[#2596] Checkpoint: one UT to add

3 years ago[#2596] Checkpoint: memfile unit tests to do
Francis Dupont [Mon, 17 Oct 2022 14:38:31 +0000 (16:38 +0200)] 
[#2596] Checkpoint: memfile unit tests to do

3 years ago[#2596] Checkpoint: unit tests to do
Francis Dupont [Mon, 17 Oct 2022 11:34:44 +0000 (13:34 +0200)] 
[#2596] Checkpoint: unit tests to do

3 years ago[#2596] Checkpoint for #2595 update
Francis Dupont [Sun, 16 Oct 2022 23:16:32 +0000 (01:16 +0200)] 
[#2596] Checkpoint for #2595 update

3 years ago[2635] Fix typo
Thomas Markwalder [Wed, 16 Nov 2022 18:53:37 +0000 (13:53 -0500)] 
[2635] Fix typo

3 years ago[2635] Make idle timeout configurable
Thomas Markwalder [Wed, 16 Nov 2022 17:07:14 +0000 (12:07 -0500)] 
[2635] Make idle timeout configurable

modified:
    mt_tcp_listener_mgr.cc
    mt_tcp_listener_mgr.h
    tcp_listener.h
    tests/mt_tcp_listener_mgr_unittests.cc

3 years ago[#2635] Fixed more clean up comments
Thomas Markwalder [Wed, 16 Nov 2022 15:47:53 +0000 (10:47 -0500)] 
[#2635] Fixed more clean up comments

3 years ago[#2635] Addressed cleanup comments and fixed UT
Thomas Markwalder [Wed, 16 Nov 2022 14:42:13 +0000 (09:42 -0500)] 
[#2635] Addressed cleanup comments and fixed UT

Changes to be committed:
    mt_tcp_listener_mgr.h
    tcp_connection.h
    tcp_messages.mes
    tests/Makefile.am
    tests/mt_tcp_listener_mgr_unittests.cc
    tests/tcp_test_listener.h

3 years ago[#2635] Added MtTcpListenerMgr to libtcp
Thomas Markwalder [Tue, 15 Nov 2022 12:39:51 +0000 (07:39 -0500)] 
[#2635] Added MtTcpListenerMgr to libtcp

Added new files:
    src/lib/tcp/mt_tcp_listener_mgr.cc
    src/lib/tcp/mt_tcp_listener_mgr.h
    src/lib/tcp/tests/mt_tcp_listener_mgr_unittests.cc
    src/lib/tcp/tests/tcp_test_listener.h

src/lib/tcp/tcp_messages.cc b/src/lib/tcp/tcp_messages.cc
    Added new messages:
    MT_TCP_LISTENER_STARTED MT_TCP
    MT_TCP_LISTENER_STOPPED MT_TCP
    MT_TCP_LISTENER_STOPPING

src/lib/tcp/tests/tcp_listener_unittests.cc
    Moved classes to tcp_test_listener.h

src/lib/tcp/tests/tcp_test_client.h
    TcpTestClient
        made responseReceived virtual.
        added ability to set a response_handler

3 years ago[#2630] IPv4 -> IPv6
Francis Dupont [Wed, 9 Nov 2022 17:42:18 +0000 (18:42 +0100)] 
[#2630] IPv4 -> IPv6

3 years ago[#2630] Removed link-addr from relay
Francis Dupont [Tue, 8 Nov 2022 20:32:32 +0000 (21:32 +0100)] 
[#2630] Removed link-addr from relay

3 years ago[#2583] Uncommented BLQ definitions
Francis Dupont [Thu, 10 Nov 2022 17:27:50 +0000 (18:27 +0100)] 
[#2583] Uncommented BLQ definitions

3 years ago[#2583] Added TcpConnction::responesSent()
Thomas Markwalder [Thu, 10 Nov 2022 17:23:52 +0000 (12:23 -0500)] 
[#2583] Added TcpConnction::responesSent()

src/lib/tcp/tcp_connection.*
    TcpConnection::responseSent() - new virtual method
    TcpConnection::doWrite() - calls responseSent() and
    conditionally starts idle timer

src/lib/tcp/tcp_stream_msg.h
    TcpStreamResponse::getResponseString() - added

src/lib/tcp/tests/tcp_listener_unittests.cc
    Added AuditTrail to faciliate verifying outcomes

3 years ago[#2583] Added missing include to test client
Thomas Markwalder [Wed, 9 Nov 2022 20:09:52 +0000 (15:09 -0500)] 
[#2583] Added missing include to test client

3 years ago[#2583] Missed some changes
Thomas Markwalder [Wed, 9 Nov 2022 13:52:34 +0000 (08:52 -0500)] 
[#2583] Missed some changes

3 years ago[#2583] Added ChangeLog entry
Thomas Markwalder [Wed, 9 Nov 2022 13:47:04 +0000 (08:47 -0500)] 
[#2583] Added ChangeLog entry

3 years ago[#2583] Connection filter now accepts endpoint
Thomas Markwalder [Wed, 9 Nov 2022 13:23:02 +0000 (08:23 -0500)] 
[#2583] Connection filter now accepts endpoint

src/lib/tcp/tcp_connection.*
    Added TcpConnection::getRemoteEndpoint()
    Changed connection filter to accept remote endpoint

src/lib/tcp/tests/tcp_listener_unittests.cc
    Updated connection filter

3 years ago[#2583] Renamed tcp_stream
Thomas Markwalder [Tue, 8 Nov 2022 21:47:13 +0000 (16:47 -0500)] 
[#2583] Renamed tcp_stream

Moved tcp_stream* to tcp_stream_msg*
Replaces strings with vectors in TcpStream classes

3 years ago[#2583] Make connection filter optional
Thomas Markwalder [Tue, 8 Nov 2022 20:44:21 +0000 (15:44 -0500)] 
[#2583] Make connection filter optional

3 years ago[#2583] Added connection filter callback
Thomas Markwalder [Tue, 8 Nov 2022 20:37:12 +0000 (15:37 -0500)] 
[#2583] Added connection filter callback

src/lib/tcp/tcp_connection.*
    TcpConnection added connection_filter callback invoked in acceptorCallback()
    prior to initiating handshake.

src/lib/tcp/tcp_listener.*
    Added connection filter callback to ctor, which is passed into createConnection()
    and used duing connection acceptance to potentially reject connections

src/lib/tcp/tests/tcp_listener_unittests.cc
    Added filter test

src/lib/tcp/tests/tcp_messages.*
    Added new log message

3 years ago[#2583] Fixed ca test dir in tests/Makefile.am
Thomas Markwalder [Tue, 8 Nov 2022 14:06:54 +0000 (09:06 -0500)] 
[#2583] Fixed ca test dir in tests/Makefile.am

3 years ago[#2583] Addressed minor review comments
Thomas Markwalder [Tue, 8 Nov 2022 12:35:39 +0000 (07:35 -0500)] 
[#2583] Addressed minor review comments

    Fixed the small stuff.

3 years ago[#2583] Removed comment
Thomas Markwalder [Mon, 7 Nov 2022 19:53:34 +0000 (14:53 -0500)] 
[#2583] Removed comment

3 years ago[#2583] Cleaned up tcp_stream and UT
Thomas Markwalder [Mon, 7 Nov 2022 19:45:14 +0000 (14:45 -0500)] 
[#2583] Cleaned up tcp_stream and UT

src/lib/tcp/tcp_connection.cc
    Removed couts

src/lib/tcp/tcp_stream.h
    Added doxygen

src/lib/tcp/tests/tcp_listener_unittests.cc
    Removed HTTPs
    Added testing of mulitple messages per client

src/lib/tcp/tests/tcp_test_client.h
    Clients now use TcpStreamRequest to receive and can
    send/receive multiple requests/responses

3 years ago[#2583] Fixed dox file name
Thomas Markwalder [Fri, 4 Nov 2022 20:33:49 +0000 (16:33 -0400)] 
[#2583] Fixed dox file name

Changes to be committed:
modified:   ../../src/lib/tcp/Makefile.am

3 years ago[#2583] Added multiple clients test
Thomas Markwalder [Fri, 4 Nov 2022 20:19:45 +0000 (16:19 -0400)] 
[#2583] Added multiple clients test

Changes to be committed:
    modified:   tcp_listener_unittests.cc
    modified:   tcp_test_client.h

3 years ago[#2583] Cleaned up log messages
Thomas Markwalder [Fri, 4 Nov 2022 19:37:02 +0000 (15:37 -0400)] 
[#2583] Cleaned up log messages

3 years ago[#2583] Removed request timeout
Thomas Markwalder [Fri, 4 Nov 2022 19:19:28 +0000 (15:19 -0400)] 
[#2583] Removed request timeout

src/lib/tcp/tcp_connection.*
src/lib/tcp/tcp_listener.*
src/lib/tcp/tests/tcp_listener_unittests.cc
    Removed request timeout and test

3 years ago[#2583] Clean up
Thomas Markwalder [Fri, 4 Nov 2022 18:24:34 +0000 (14:24 -0400)] 
[#2583] Clean up

src/lib/tcp/tcp_connection.cc
    MAX_LOGGED_MESSAGE_SIZE -> const

src/lib/tcp/tcp_connection.h
    Whitespace cleanup

src/lib/tcp/tcp_connection_acceptor.h
    Fixed protector name

Removed variants of HTTP and persist.

3 years ago[#2583] Create TcpMessage base class
Thomas Markwalder [Fri, 4 Nov 2022 16:20:44 +0000 (12:20 -0400)] 
[#2583] Create TcpMessage base class

src/lib/tcp/Makefile.am
    Uncommented .dox file
    Set version to 1.0.0
    Updated list of includes to install

src/lib/tcp/libkea_tcp.dox
    Added MT section

src/lib/tcp/tcp_connection.*
    Created base class TcpMessage with WireData member/funcs
    Accessing empty wire data data() now throws

src/lib/util/strutil.*
    Added dumpAsHex()

3 years ago[#2583] Improved timeout handling and UT
Thomas Markwalder [Fri, 4 Nov 2022 13:43:56 +0000 (09:43 -0400)] 
[#2583] Improved timeout handling and UT

src/lib/tcp/tcp_connection.cc
    Removed recordParamters() func and invocations
    Revamped timeout setups to be request side only
    - idle time measure time between complete requests
    - request time measures time between request reads

    TcpConnection::requestTimeoutCallback()
    - Removed transaction/spawning logic and response generation/send

src/lib/tcp/tcp_messages.cc
    added TCP_CLIENT_REQUEST_TIMEOUT_OCCURRED

src/lib/tcp/tests/tcp_listener_unittests.cc
    Created simple listen test and new split reads test
    Reworked idle timeout test
    Implemented (but disabled) request timeout test

src/lib/tcp/tests/tcp_test_client.h
    Added separate func for connect
    ability to send truncated message, wait for EOF

3 years ago[#2583] Simple stream request/response functions
Thomas Markwalder [Tue, 25 Oct 2022 14:11:36 +0000 (10:11 -0400)] 
[#2583] Simple stream request/response functions

src/lib/tcp/Makefile.am
    added tcp_stream.h and tcp_stream.cc

src/lib/tcp/tcp_connection.*
    made TcpRequest,TcpResponse, and TcpConnection abstract

src/lib/tcp/tcp_stream.h
src/lib/tcp/tcp_stream.cc
    new files that implement TcpStreamRequest and TcpStreamResponse

src/lib/tcp/tests/tcp_listener_unittests.cc
    Made initial listener test functional using TcpStream classes

3 years ago[#2583] Added dox file to libkea_tcp
Thomas Markwalder [Tue, 11 Oct 2022 14:59:53 +0000 (10:59 -0400)] 
[#2583] Added dox file to libkea_tcp

Changes to be committed:
modified:   doc/devel/Doxyfile
modified:   doc/sphinx/mes-files.txt
modified:   doc/sphinx/mes_files.mk
new file:   src/lib/tcp/libkea_tcp.dox