2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-22 09:57:41 +00:00

45 Commits

Author SHA1 Message Date
Wlodek Wencel
c524f6a5db [#3733] release changes 2025-01-28 10:06:26 +01:00
Francis Dupont
1ecfaf9bd6 [#3696] Made >= 1.66 mandatory 2025-01-15 15:26:32 +01:00
Razvan Becheriu
41d0286cea [#3320] minor changes 2024-04-17 17:40:17 +00:00
Razvan Becheriu
da95be459b [#3320] minor changes 2024-04-17 17:40:17 +00:00
Razvan Becheriu
027674fa54 [#3316] fixed doxygen 2024-04-03 23:11:45 +03:00
Marcin Godzina
5390c1978f [#3307] release changes 2024-03-22 15:55:27 +00:00
Razvan Becheriu
133ccdfb15 [#3190] fixed ASAN warnings 2024-03-05 07:50:05 +00:00
Razvan Becheriu
8fc6b6f901 [#3190] fix ASAN warnings 2024-03-05 07:50:05 +00:00
Razvan Becheriu
1b070fe4b5 [#3190] use smart pointer to capture IOService instance 2024-03-05 07:50:05 +00:00
Razvan Becheriu
ad78b208df [#3112] renamed getIOService to getInternalIOService 2023-12-11 09:52:05 +02:00
Razvan Becheriu
9ecab51d37 [#3112] renamed run_one and get_io_service to camelCase 2023-12-11 09:52:05 +02:00
Razvan Becheriu
7bd869cdda [#2250] format else statement 2022-02-09 10:54:41 +02:00
Francis Dupont
0b51ae98d7 [#1661] Addressed some 1661 comments (port) 2021-03-12 09:56:46 +01:00
Francis Dupont
4fec270241 [#1644] Replaced raw ptrs by unique_ptr 2021-01-29 10:14:43 +01:00
Andrei Pavel
c53e135833
[#1656] 1.9.4 release: update copyrights 2021-01-25 13:52:09 +02:00
Andrei Pavel
96f049b111
[#1656] 1.9.4 release: spelling check 2021-01-25 13:52:09 +02:00
Francis Dupont
a48b579bf5 [#749] Converted assert to throw outside dns lib 2020-08-13 09:59:21 -04:00
Wlodek Wencel
4a26b2fe27 [master] Copyright update to 2018 2018-05-24 13:17:10 +02:00
Bartłomiej Piotrowski
4fd11ef050 asiolink: fix build with boost 1.66
- use native_handle() for getting native socket type
- use io_context instead of io_service
2017-12-30 19:07:26 +01:00
Marcin Siodelski
3d18318f68 [4236] Updated copyright dates in all files. 2015-12-16 15:28:44 +01:00
Marcin Siodelski
fe9dd86d20 [4236] Replaced license text in all files containing it. 2015-12-16 13:37:29 +01:00
Francis Dupont
5526c8641e [4009] ASIO_HPP -> BOOST_ASIO_HPP 2015-09-02 20:06:53 +02:00
Francis Dupont
b494fd351e [4009] Added boost to asio (tentative) 2015-09-02 19:49:11 +02:00
Francis Dupont
ea6e9d166f [master] remove '#include <config.h' from include files (#3782) 2015-04-18 01:39:43 +02:00
Mukund Sivaraman
df8447e4fa [2960] Remove dummy logging code that was a precursor to libb10-log 2013-07-26 17:16:16 +05:30
Mukund Sivaraman
059a2a1751 [2357] Update scaffolding using fix-scaffolding.py tool
See bug #2367 for the fix-scaffolding.py tool.
2012-10-25 10:06:34 +05:30
chenzhengzhang
fe0c557fa0 [trac749] Merge 'master' into trac749
Conflicts:
	src/bin/auth/auth_srv.h
	src/bin/resolver/resolver.h
	src/lib/Makefile.am
	src/lib/asiodns/dns_lookup.h
	src/lib/asiodns/io_fetch.cc
	src/lib/asiodns/io_fetch.h
	src/lib/asiodns/qid_gen.cc
	src/lib/asiodns/qid_gen.h
	src/lib/asiodns/tcp_server.cc
	src/lib/asiodns/tests/qid_gen_unittest.cc
	src/lib/asiodns/udp_server.cc
	src/lib/asiolink/Makefile.am
	src/lib/asiolink/qid_gen.cc
	src/lib/asiolink/qid_gen.h
	src/lib/asiolink/tests/Makefile.am
	src/lib/asiolink/tests/qid_gen_unittest.cc
	src/lib/asiolink/tests/tcp_socket_unittest.cc
	src/lib/asiolink/tests/udp_socket_unittest.cc
	src/lib/dns/rdata.h
	src/lib/resolve/recursive_query.cc
	src/lib/resolve/recursive_query.h
	src/lib/resolve/tests/recursive_query_unittest_2.cc
	src/lib/testutils/srv_test.cc
	src/lib/util/Makefile.am
	src/lib/util/io_utilities.h
	src/lib/util/random/qid_gen.cc
	src/lib/util/random/qid_gen.h
	src/lib/util/tests/io_utilities_unittest.cc
	src/lib/util/tests/qid_gen_unittest.cc
2011-04-19 13:56:30 +08:00
chenzhengzhang
ecb22c0c22 [trac749] update namespace names 2011-04-14 15:15:55 +08:00
chenzhengzhang
36dd3d4b0b [trac749] refactor more C++ utility code 2011-04-12 15:26:09 +08:00
chenzhengzhang
f6aa7d5956 [trac749] refactor C++ utility library 2011-04-11 19:08:19 +08:00
Ocean Wang
8fc7cdd216 [trac751] Move dns related code to asiodns lib 2011-04-08 17:02:44 +08:00
Stephen Morris
6c1f3af003 [trac499] Correct problem with receiving large responses
The TCP handling reads into an intermediate staging buffer.  The
problem was that this buffer wasn't being emptied between multiple
reads, only after the last one.  If the total amount of data
received was more than the staging buffer size, the code failed
attempting to write beyond the buffer end.

This fix empties the staging buffer after (more or less) every
read from the network.
2011-03-04 14:58:53 +00:00
Stephen Morris
77027490d5 [trac499] Add "normalization" of received data
... i.e. copying TCP data into the receive buffer omitting the leading
two-byte message length.
2011-02-28 19:24:01 +00:00
Stephen Morris
682436e844 [trac499] Completed TCPSocket and unit tests 2011-02-28 14:27:01 +00:00
Stephen Morris
b13c2fd090 [trac499] Checkpoint of work to end of Friday 25 Feb 2011 2011-02-25 20:32:59 +00:00
Stephen Morris
7c41968160 [trac499] Mischellaneous minor preparator changes
* Extend logging in IOFetch (and add message definitions)
* Update buffer size setting for UDP socket
* remove spaces at end of lines in other files
2011-02-24 12:02:59 +00:00
Stephen Morris
af01e66fde [trac499] Add logging of errors to IOFetch 2011-02-24 08:58:58 +00:00
Stephen Morris
6dad3efd9d [trac554] Added namespace when "buffer" is used 2011-02-21 18:20:23 +00:00
Stephen Morris
5dc6a76112 [trac554] Address comments in review 2011-02-21 17:58:12 +00:00
Stephen Morris
85b6fa72d6 [trac554] Added IOFetch
IOFetch is a general upstream "fetch" class that should be able to
operate over TCP or UDP.  Related changes have been made in the
associated classes.  So far, only the unit tests for a UDP fetch
have been made (and passed).
2011-02-18 14:31:20 +00:00
Stephen Morris
ad418dc785 [trac554] Update function names and prepare for TCP looping
Updated function names to match convention.  Also added receiveComplete()
to prepare for the fact that a TCP receive may require multiple reads
before the complete message is read.
2011-02-16 11:52:51 +00:00
Stephen Morris
7ddfd9eca1 [trac554] Now have UDPSocket and its unit test working 2011-02-15 19:06:32 +00:00
Stephen Morris
e01aeb058b [trac554] First stage of adding protocol-dependent upstream fetch
Admin tasks:
* Split out io_error.h from asiolink.h
* Made test files follow naming convention of main files
* More discriminatory includes in some files
* Updates tests/Makefile.am

Coding tasks:
* Add additional methods to io_socket.* and put in dummies in
  {tcp,udp}_socket.h
* Incorporated basic IO Fetch code from Scott
2011-02-14 19:26:09 +00:00
Jelte Jansen
b9e1f48df9 [trac569] rename the original ioxxx files to io_xxx 2011-02-14 15:58:40 +01:00
Jelte Jansen
a151c4a620 [trac569] split up udpdns.[h|cc] and tcpdns.[h|cc] too
and moved them out of internal. Changed the internal/ workaround (to prevent files outside of asiolink/ to indirectly include asio.hpp), the .cc files that include the relevant headers must include asio.hpp themselves (and this is checked in the headers)
Also moved coroutine out of internal.
Tests are still todo (which is why internal/ still exists)
2011-02-14 12:56:49 +01:00