- 08 Mar, 2010 6 commits
-
-
JINMEI Tatuya authored
- hide the details of the Session class using pimpl (mainly so that we can easily replace the internal implementation with boost::asio, etc) - make the Session un-copyable (not absolutely necessary, but possible, and it will make other things easier) - make establish() exception safe - corrected return value check for socket(2) - other minor style fixes git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1210 e5f2f494-b856-4b98-b285-d166d9295462
-
Evan Hunt authored
file can be parsed without consuming too much memory (note: both master and sqlite3_ds should really be turned into classes) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1207 e5f2f494-b856-4b98-b285-d166d9295462
-
Jelte Jansen authored
if not set, the hardcoded default is used Added removeDataSrc(ConstDataSrcPtr) to remove a running one (auth_srv has a copy of the currently running sqlite datasrcptr to keep track of this) added test for addDataSrc and removeDataSrc (for which is also added an dataSrcCount() function) removed zone_list from auth.spec to avoid confusion updated ccsession to give a better error when there is something wrong (like a bad .spec file) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1203 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1199 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-asio@1196 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-asio@1195 e5f2f494-b856-4b98-b285-d166d9295462
-
- 06 Mar, 2010 2 commits
-
-
Evan Hunt authored
- fixed a bug in which NSEC3 parsing would fail if there were no rrtypes listed - also, ignore exceptions when a listed type is not recognized git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1159 e5f2f494-b856-4b98-b285-d166d9295462
-
Evan Hunt authored
- fixed several bugs in NSEC3 logic git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1155 e5f2f494-b856-4b98-b285-d166d9295462
-
- 05 Mar, 2010 7 commits
-
-
Evan Hunt authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1139 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
- (minor style change) simplified some if conditions git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1132 e5f2f494-b856-4b98-b285-d166d9295462
-
Jeremy C. Reed authored
Noticed on NetBSD and FreeBSD. (Linux and Solaris already include it via netdb.h.) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1131 e5f2f494-b856-4b98-b285-d166d9295462
-
Evan Hunt authored
- a few other dual-stack fixes git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1130 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1129 e5f2f494-b856-4b98-b285-d166d9295462
-
Jeremy C. Reed authored
This is based on ideas done in experiments/jreed-layout, but I manually did this again. Moved around directory structures. A single python subdirectory under src/lib for single "isc" module. No "cpp" directories. No pyshared or includes symlink trees. I tested running the c++ tests and python tests. I tested running run_bind10.sh from source tree (with nothing installed). I tested running bind10 from installed (after moving source). git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1120 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
- fixed memory leak for Datasrc* stored in the MetaDataSrc vector. there are several possible ways to do this, but I chose to using boost::shared_ptr. expect for portability issues this seems to be the cleanest solution, and, regarding portability, we already heavily rely on boost anyway, so we should revisit the whole design if/when we seriously consider binary portability. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1118 e5f2f494-b856-4b98-b285-d166d9295462
-
- 04 Mar, 2010 2 commits
-
-
Jeremy C. Reed authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1116 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
- use forward declarations instead of including headers when possible - partly as a result of that, moved method definitions from .h to .cc unless it does very trivial thing and is deemed to be performance sensitive. - avoid 'using namespace' in header files - made data-source related objects non-copyable as much as possible - fixed a bug of an uninitialized variable - made coding style more consistent git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1110 e5f2f494-b856-4b98-b285-d166d9295462
-
- 03 Mar, 2010 3 commits
-
-
JINMEI Tatuya authored
now that we support EDNS. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1092 e5f2f494-b856-4b98-b285-d166d9295462
-
Shane Kerr authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1088 e5f2f494-b856-4b98-b285-d166d9295462
-
Shane Kerr authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1087 e5f2f494-b856-4b98-b285-d166d9295462
-
- 02 Mar, 2010 3 commits
-
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1074 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1073 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1071 e5f2f494-b856-4b98-b285-d166d9295462
-
- 01 Mar, 2010 1 commit
-
-
Jeremy C. Reed authored
and definitions. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1054 e5f2f494-b856-4b98-b285-d166d9295462
-
- 28 Feb, 2010 2 commits
-
-
Jelte Jansen authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1044 e5f2f494-b856-4b98-b285-d166d9295462
-
Jelte Jansen authored
added isc::data::merge(element, element), that merges the values in the second mapelement into the first (copies the pointers that are present in the second element, and removes from a the values that are empty pointers in the second) the ElementPtr passed to the module's config handler now only contains the data that has actually changed (settings that are the same as before are removed from what is passed to the config handler) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1041 e5f2f494-b856-4b98-b285-d166d9295462
-
- 26 Feb, 2010 6 commits
-
-
Jelte Jansen authored
simple example to set the database file in auth (which is seen and remembered, but not passed on to the sqlite3datasource yet) we should look for a decent way to do this without needing a global auth variable (jinmei has some ideas) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1003 e5f2f494-b856-4b98-b285-d166d9295462
-
Jelte Jansen authored
add a 'shortcut' in cmdctl.py; it now only checks for existing module/command if the module is not ConfigManager (that one doesn't pass around its commands, i am thinking that that is possible, but at the moment it is completely seen as core and builtin) added unittests for UIModuleCCSession fixed a few badly named exceptions git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1001 e5f2f494-b856-4b98-b285-d166d9295462
-
Jelte Jansen authored
updated command callback fingerprint; the function a module provides should now take 2 arguments; the first is a string with the name of the command, the second an ElementPtr containing argument(s) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@999 e5f2f494-b856-4b98-b285-d166d9295462
-
Likun Zhang authored
1. Check if module name and command name exist according module's specification file before send it to the specified module. Parameter check need to be added later. 2. Let cmdctl return the command result to bindctl. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@992 e5f2f494-b856-4b98-b285-d166d9295462
-
Likun Zhang authored
1. Refactor the function get_param_name_by_position of class CommandInfo, add add some unittest for it. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@990 e5f2f494-b856-4b98-b285-d166d9295462
-
Evan Hunt authored
ticket #50 for full details) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@988 e5f2f494-b856-4b98-b285-d166d9295462
-
- 25 Feb, 2010 2 commits
-
-
Jelte Jansen authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@962 e5f2f494-b856-4b98-b285-d166d9295462
-
Likun Zhang authored
2. Add login idle timeout for cmdctl, default idle time is 1200 seconds. 3. Refactor some code for cmdctl. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@961 e5f2f494-b856-4b98-b285-d166d9295462
-
- 24 Feb, 2010 2 commits
-
-
Jeremy C. Reed authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@949 e5f2f494-b856-4b98-b285-d166d9295462
-
Jelte Jansen authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@947 e5f2f494-b856-4b98-b285-d166d9295462
-
- 23 Feb, 2010 4 commits
-
-
Jeremy C. Reed authored
Tests still fail for me. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@937 e5f2f494-b856-4b98-b285-d166d9295462
-
Jeremy C. Reed authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@930 e5f2f494-b856-4b98-b285-d166d9295462
-
Jeremy C. Reed authored
changes. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@924 e5f2f494-b856-4b98-b285-d166d9295462
-
Jeremy C. Reed authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@923 e5f2f494-b856-4b98-b285-d166d9295462
-