2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00
Commit Graph

9123 Commits

Author SHA1 Message Date
JINMEI Tatuya
23f9c3670b [master] Merge branch 'trac1727' 2012-03-21 11:46:47 -07:00
Mukund Sivaraman
a06071b1dc bug #1639: Update ChangeLog 2012-03-21 23:32:23 +05:30
Jeremy C. Reed
6784b5dbb0 [master] change DATASRC_QUERY_NO_ZONE from INFO to DEBUG
using debug level of 40 for now.

This is for ticket #1102.

Also clarify the log description.

No changelog entry.

Discussed some on jabber.
2012-03-21 09:54:39 -05:00
Mukund Sivaraman
766e74511e bug #1639: Change comment in configure.ac 2012-03-21 10:08:40 +05:30
JINMEI Tatuya
228fe4a17c [1639] some minor editorial fixes: () for return, indentation consistency 2012-03-21 10:08:31 +05:30
Mukund Sivaraman
d576a1526e bug #1639: Add comment to endif 2012-03-21 10:08:24 +05:30
Mukund Sivaraman
6ea0b1d62e bug #1639: Implement a pselect() wrapper around select() for OpenBSD 2012-03-21 10:08:09 +05:30
JINMEI Tatuya
4de96e9a32 [master] Merge branch 'trac1784' with fixing conflicts. 2012-03-20 09:43:47 -07:00
Michal 'vorner' Vaner
79af4f917e Merge #1760 2012-03-20 10:24:42 +01:00
JINMEI Tatuya
0acc164c6a [1727] define BOOST_DISABLE_THREADS if Boost doesn't use theads by default.
this will fix a crash in asiolink tests on OpenBSD due to its deviant
behavior that could result in different configuration on the use of
boost threads in different .cc files.
2012-03-19 23:00:23 -07:00
JINMEI Tatuya
da4d1f0f46 [master] Merge branch 'trac1783' 2012-03-19 10:48:55 -07:00
Jelte Jansen
3dfd3b25e2 [1812] remove newline 2012-03-19 23:02:35 +05:30
Mukund Sivaraman
7b7252d044 [1812] Initialize srandom() with seed other than 0 when not using a random seed
This is because random() always returns 0 on OpenBSD 5.0, when
the RNG is initialized with srandom(0).
2012-03-19 23:02:26 +05:30
JINMEI Tatuya
e0cee3754d [1783] noted a future extension to RendererHolder so it's more visible. 2012-03-19 10:31:33 -07:00
JINMEI Tatuya
bd2da89767 [1784] signed/unsigned fix 2012-03-19 10:14:22 -07:00
JINMEI Tatuya
8db9dee362 [1784] reject unsupported addServer options. 2012-03-19 10:03:21 -07:00
JINMEI Tatuya
02cb1de4a0 [1784] added some notes about why we do null check for 'res' from getaddrinfo. 2012-03-19 09:48:40 -07:00
Jelte Jansen
438bcd6747 [1784] some initialization issues and cppcheck fixes
see http://bind10.isc.org/ticket/1784#comment:5
2012-03-19 15:27:01 +01:00
Michal 'vorner' Vaner
abd717cfc9 [1760] Use ?, not $ for parameter substitution
Unrelated cleanup.

They are equivalent, but this looks more consistent.
2012-03-19 14:41:15 +01:00
Michal 'vorner' Vaner
c2b8d8433c [1760] Implement the SQLite3 findPreviousNSEC3Hash
It is very similar to the findPreviousName, just that it wraps around
when no hash is found.
2012-03-19 14:38:25 +01:00
Michal 'vorner' Vaner
37960ee83c [1760] Tests for sqlite3 findPRevioushNSEC3Hash
Naturally, the tests fail, the method is not implemented.
2012-03-19 14:37:41 +01:00
Michal 'vorner' Vaner
8f36290cea [1760] Provide the IteratorContext
The one for providing the "normal" lookups is just slightly modified to
accept another SELECT statement. The SELECT statement has a small hack -
since the table does not contain a sigtype column (because it makes
little sense in the nsec3 namespace), it is replaced with column where
everything equals to 1, to position the rdata column to the proper
position.
2012-03-19 13:20:59 +01:00
Michal 'vorner' Vaner
e80de6f13a [1760] Test for the accessor 2012-03-19 13:20:59 +01:00
Michal 'vorner' Vaner
823f30307b Merge #1758 2012-03-19 09:38:19 +01:00
Naoki Kambe
b713d234a9 [master] ChangeLog update for #1751 2012-03-19 11:46:21 +09:00
Naoki Kambe
3285353a66 Merge branch 'trac1751'
Conflicts:
	ChangeLog
2012-03-19 11:43:36 +09:00
JINMEI Tatuya
f46b788569 [1783] add a test case where toWire() throws, and fix it using a cleaner class.
also make sure the internal (reusable) MessageRenderer is always used.
2012-03-16 18:36:32 -07:00
JINMEI Tatuya
20e1bd7772 [1784] removed the "test_mode" kludge in portconfig.
thanks to the introduction of DNSServiceBase we don't need it any more.
2012-03-16 16:19:35 -07:00
JINMEI Tatuya
c4e3eaef7e [1784] make sure auth uses the synchronous DNS server mode.
also introduce mock DNSService and use it to test the behavior, and to test
the resolver behavior doesn't change.

the essential part should be quite simple; most of the changes are
straightforward interface adjustments.
it also includes some editorial cleanups such as adding header-file guards
or style guideline fixes.
2012-03-16 15:16:07 -07:00
JINMEI Tatuya
c8c69b2a7b [1784] cleanup: put testuil mockups in a separate namespace to avoid pollution. 2012-03-16 14:05:49 -07:00
JINMEI Tatuya
ce65bd4fa0 [1784] introduced a base interface class for DNSService for subsequent tests.
Only some part of portconfig need to be adjusted; others will still use
the derived class directly.
2012-03-16 14:00:11 -07:00
Michal 'vorner' Vaner
69d99618a5 [1758] Provide future test method
For the findPreviousNSEC3Hash.

Also, renamed the nsec_namespace_ variable to more correct
nsec3_namespace_.
2012-03-16 14:54:40 +01:00
Michal 'vorner' Vaner
fde67b3671 [1758] Provide NotImplemented-throwing methods
This is for the newly introduced interface. It makes stuff compile, it
complained about pure virtual methods.
2012-03-16 14:42:24 +01:00
Michal 'vorner' Vaner
c387dc0811 [1758] Interface for getting previous name 2012-03-16 14:36:08 +01:00
Jeremy C. Reed
154021bfa4 [master] update version 2012-03-16 08:27:31 -05:00
Jelte Jansen
3441ed2e58 [master] update changelog for merge of 1640 2012-03-16 11:28:17 +01:00
Jelte Jansen
582bcd66db [master] Merge branch 'trac1640_2' 2012-03-16 10:25:38 +01:00
Mukund Sivaraman
5c61cd71a9 [master] Fix kqueue testcase in configure.ac for OpenBSD 2012-03-16 14:34:09 +05:30
JINMEI Tatuya
4065c72003 [1784] cleanups, tests, and doc for addServerUDPFromFD.
"UDPVersion" is now more generic options, and its default is the previous
behavior, which should be more suitable default.  added test cases to
confirm the effect of the options.  added detailed documentation.
2012-03-16 00:35:02 -07:00
Naoki Kambe
65d2a83510 [1751] change of #1751 entry to the simpler text for the users according to reviewing 2012-03-16 13:46:05 +09:00
Naoki Kambe
b24200598f [1751] addition of notes, rearrangement for reading easily, and removal of unnecessary updates of the statistics_data variable 2012-03-16 13:43:35 +09:00
Naoki Kambe
b28f331a02 [1751] addition of a check of statistics data after a running auth is killed 2012-03-16 13:43:35 +09:00
JINMEI Tatuya
b842ace68b [master] (workaround for lettuce) always use asynchronous UDP server objects.
this is a simplest fix to the lettuce resolver test failure.  note: this will
make the auth server slower.  a more complete fix will be done in #1784.
okayed by muks on jabber.
2012-03-15 21:17:08 -07:00
JINMEI Tatuya
af8054f481 [1784] removed the ability of creating sync server except for UDPFromFD case.
That matches the sense of YAGNI, and, in fact, would help avoid having the
type of regression we had in #1600.
2012-03-15 17:43:36 -07:00
JINMEI Tatuya
5a75cef501 [1784] (unrelated) editorial cleanup: space related, indentation, etc.
also fixed memory leak in a test case using scoped_ptr.
2012-03-15 16:52:48 -07:00
JINMEI Tatuya
c0eb91022a [master] make sure temporary renderer buffer is reset after query processing.
otherwise it could result in duplicate free.  This basically recovers the
same behavior of d5ec40dace that was lost
in commit 699068ef14.
2012-03-15 14:24:34 -07:00
Jeremy C. Reed
0f1e080b02 [master]Merge branch 'trac1644' 2012-03-15 13:23:39 -05:00
Jeremy C. Reed
9a25a7d763 [trac1644]Merge branch 'trac1644' of ssh://git.bind10.isc.org//var/bind10/git/bind10 into trac1644
fix conflicts
2012-03-15 12:50:49 -05:00
Michal 'vorner' Vaner
2bb6957f05 [1758] Future test support. 2012-03-15 16:19:12 +01:00
Jelte Jansen
8e3c36663e [master] Merge branch 'trac1780' 2012-03-15 15:53:58 +01:00