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
Stephen Morris
2e06048a76
[963] Dabase utility program and tests
2012-03-19 15:09:38 +00: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
Tomek Mrugalski
21c1954e0e
[1531] Several developer documentation updates:
...
- Added make devel target in doc directory.
- Doxygen warnings/errors are now part of the Developer's guide itself.
- renamed mainpage.dox file
- Added extra information to main page
- Extended libdhcp++ descriptions
- Added doc/.gitignore to ignore doc/html (potentially 1000s of files)
2012-03-19 14:54:18 +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
haikuo zhang
8e4c960405
[1579] update unit test. In this unit test, I update NSEC3PARAM
...
type RR data to database,and it works smoothly.
2012-03-19 13:08:04 +08: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
Stephen Morris
489ef518a4
[1688] Remove unneeded "duplicate additional" check
...
This is now replaced by the duplicate check when the response is
created.
2012-03-16 15:56:35 +00:00
Stephen Morris
a7f2ef92fd
[1688] Add optimisation for RBNodeRRsets
...
Reduce the cost of comparing RRsets when ignoring duplicate ones
in the preparation of an output message.
2012-03-16 15:35:34 +00:00
Stephen Morris
e0c470b595
[1688] Remove duplicate RRsets when producing output message
...
When Query::createResponse() creates a message, this change ensures
that any duplicate RRsets are removed.
2012-03-16 14:52:11 +00: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
Stephen Morris
c71fd9915c
[1688] Add AbstractRRset::lthan()
...
Provides ordering needed for adding RRsets into a multiset for
duplicate RRset removal.
2012-03-15 17:25:11 +00: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
Jelte Jansen
12f57073eb
[master] Merge branch 'trac1747'
2012-03-15 15:29:48 +01:00
Mukund Sivaraman
61992b3bdb
[master] Add more missing includes (doesn't compile on OpenBSD otherwise)
2012-03-15 16:49:43 +05:30
Tomek Mrugalski
d05c011857
Merge branch 'trac1541'
2012-03-15 12:00:59 +01:00
Jelte Jansen
1f945d96f6
[1640] cleanup of ACX_ functions
...
removed arguments that were never used, use PATH_SEPARATOR instead of literal, add comments, fixed AXC_CHECK_PROG_NONCACHE for the case where $3 is not supplied
2012-03-15 11:24:07 +01:00
Mukund Sivaraman
579ba09bea
Add missing more includes (doesn't compile on OpenBSD otherwise)
2012-03-15 15:06:17 +05:30
Naoki Kambe
6fde5a92a9
[1751] a ChangeLog entry for #1751
2012-03-15 18:23:41 +09:00
Michal 'vorner' Vaner
373eda27fc
Merge #1568
2012-03-15 09:28:47 +01:00
Mukund Sivaraman
09d97fb51e
[master] Add missing include (doesn't compile on OpenBSD otherwise)
2012-03-15 13:51:12 +05:30