- 11 Mar, 2010 1 commit
-
-
JINMEI Tatuya authored
ignoring requests when an error occurs - added a framework for auth server unit test with an initial simple test git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1306 e5f2f494-b856-4b98-b285-d166d9295462
-
- 10 Mar, 2010 16 commits
-
-
JINMEI Tatuya authored
- avoid using an unnecessary temporary variable when possible - make sure it's allocated in constructor's memeber initialization list - some cleanups: conslidate definitions of private member variables, variable name consistency git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1292 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1291 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1290 e5f2f494-b856-4b98-b285-d166d9295462
-
Jelte Jansen authored
also fixed command handling and shutdown for non-boost version git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1276 e5f2f494-b856-4b98-b285-d166d9295462
-
Jelte Jansen authored
renamed it to io_service to avoid naming collision with boost::io_service namespace added a variable listening to TCPServer, that keeps track of the currently listening TCPClient pointer, and delete it on destruction (without this we have a fixed-size memory 'leak') git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1274 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
also hid setDbFile in the implementation class because it's currently only used internally, and it made the exception handling simpler. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1270 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1269 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1268 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
an unnecessary header file git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1267 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
style consistency git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1266 e5f2f494-b856-4b98-b285-d166d9295462
-
Evan Hunt authored
per suggestions from bind10 channel discussion git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1264 e5f2f494-b856-4b98-b285-d166d9295462
-
Evan Hunt authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1263 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1259 e5f2f494-b856-4b98-b285-d166d9295462
-
Jeremy C. Reed authored
Include netinet/in.h because NetBSD and FreeBSD don't pull this in via netdb.h. This defines IPPROTO_IPV6, IPPROTO_TCP, and others. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1258 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
(this is an ad hoc short-term hack. eventually we should design and implement more generic logging mechanism) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1257 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
for TCP async_read(). git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1255 e5f2f494-b856-4b98-b285-d166d9295462
-
- 09 Mar, 2010 2 commits
-
-
JINMEI Tatuya authored
with ${top_dir}/config.h. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1251 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
the ASIO version or the builtin socket API version depending on the availability of the boost::system library. git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-asio@1226 e5f2f494-b856-4b98-b285-d166d9295462
-
- 08 Mar, 2010 5 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
-
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
-
- 05 Mar, 2010 6 commits
-
-
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 1 commit
-
-
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 1 commit
-
-
JINMEI Tatuya authored
now that we support EDNS. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1092 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
-
- 28 Feb, 2010 1 commit
-
-
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 3 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
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
-
Evan Hunt authored
ticket #50 for full details) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@988 e5f2f494-b856-4b98-b285-d166d9295462
-
- 22 Feb, 2010 1 commit
-
-
Jelte Jansen authored
added error feedback to config_validate() and option to validate partial configurations in cpp version fixed a bug in Mapelement->str() (it can now print empty map elements) added tests for python config_data module and fixed a few bugs there git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@911 e5f2f494-b856-4b98-b285-d166d9295462
-