- 09 Mar, 2010 1 commit
-
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-asio@1225 e5f2f494-b856-4b98-b285-d166d9295462
-
- 08 Mar, 2010 14 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
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/jinmei-asio@1209 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1208 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
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1206 e5f2f494-b856-4b98-b285-d166d9295462
-
Jelte Jansen authored
(on the python side) ModuleCCSession.add_remote_config(specfile) sets this up; you provide it the spec file of the module you want a setting from. Config updates will be caught so the get function below should always give you the latest error. (there is no rollback yet, so if the other module does not accept the new value for any reason this is currently missed here) ModuleCCSession.get_remote_config_value(module name, identifier) returns the same value,default tuple as ConfigData::get_value(identifier), but obviously for the remote module ModuleCCSession.remove_remote_config(module_name) removes the remote config settings again. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1205 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@1200 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
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1193 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1192 e5f2f494-b856-4b98-b285-d166d9295462
-
Evan Hunt authored
skip data sources that definitely won't match. (I'm not sure about the design here and may revisit it, but there should be a marginal speedup from not having to compare every single qname to "authors.bind" and "version.bind".) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1191 e5f2f494-b856-4b98-b285-d166d9295462
-
- 07 Mar, 2010 25 commits
-
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1190 e5f2f494-b856-4b98-b285-d166d9295462
-
Evan Hunt authored
claims this is optimized, but at present it looks as if it isn't). git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1189 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
sqlite3 related errors. used the new class when Sqlite3DataSrc::open() failed. added a test case for this. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1188 e5f2f494-b856-4b98-b285-d166d9295462
-
Evan Hunt authored
- added a RETERR macro for readability git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1187 e5f2f494-b856-4b98-b285-d166d9295462
-
Jelte Jansen authored
need deepcopy() instead of shallow copy() for reverting to older data when new config is not accepted git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1186 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
added notes about design choices and possible future changes. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1185 e5f2f494-b856-4b98-b285-d166d9295462
-
Evan Hunt authored
directly under the zone apex (i.e., a.b.c.d.e.foo.com), we need to return the NSEC3 covering the closest enclosing name, not for the zone name itself. We also need to avoid sending multiple copies of the same NSEC3. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1184 e5f2f494-b856-4b98-b285-d166d9295462
-
Evan Hunt authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1183 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1182 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
now that the generic exception code is a separate library in the isc namespace it doesn't make sense to call it dns_something. I know it's a big change, but I believe we should do this cleanup sooner than later. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1181 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1180 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
of the RR Class being IN. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1179 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1178 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1177 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1176 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
dynamically allocated "getNsec3Param *" can leak when exception happens (and it can happen in this code) before it's deleted. Remember: code that handles a bare pointer dynamically allocated by 'new' is almost always buggy as long as we use exceptions. let's drop that idea. Note: in this specific case, shared_ptr is overspec because it doesn't have to be shared. boost::scoped_ptr should be sufficient, but since we already rely on shared_ptr, I chose to minimize dependency. (plus, NSEC3 processing is heavy anyway, so performance overhead of shared_ptr doesn't matter much in this context). git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1175 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1174 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1173 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
if the answer was generated from mixed ordered RRs. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1172 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
- removed redundant temporary variables - constified things as much as possible git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1171 e5f2f494-b856-4b98-b285-d166d9295462
-
Jeremy C. Reed authored
Fix installation (old path before restructure). git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1169 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1167 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1165 e5f2f494-b856-4b98-b285-d166d9295462
-
Evan Hunt authored
be informed of this - both nsec and nsec3 now throw InvalidRdataText when encountering an unknown rrtype, rather than InvalidRRType (which was somewhat misleading) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1164 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1163 e5f2f494-b856-4b98-b285-d166d9295462
-