- 08 Apr, 2010 4 commits
-
-
Likun Zhang authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1696 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1695 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
- pass xfr request data length in network byte order, and receive it as such. receiving this as native data (unpack('H')) would be a bit naive because it may assume some padding. - avoid cast as a bonus side effect of the first fix - make cmsg space handling more portable. use CMSG_SPACE when possible; otherwise calculate the space using dummy data - overall simplied fd_share code: trying to handle multiple FDs is not correct in terms of API, and in any case we don't need that; verify cmsg_level and cmsg_type on reception; avoid unnecessary data initialization; stop naively assume the exact memory allocation of cmsg_data (assuming no padding) - use cmsg_space() so that padding, if any, will be taken intou account - catch the error case of recv_fd failure in XfroutSession.handle() explicitly, and raise an exception git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1694 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1693 e5f2f494-b856-4b98-b285-d166d9295462
-
- 07 Apr, 2010 11 commits
-
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1692 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
- style fixes according to bind10 coding guideline - constify things - propset git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1691 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1690 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
of the boss process with any additional specific variables given on construction (self.env) of ProcessInfo. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1689 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1688 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1687 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1686 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1685 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
cleanup: eliminated the need for isc.auth.sqlite3_ds.AXFRInDB by directly calling sqlite3_ds.load() from the xfrin module. Other cleanups: - cosmetic: removed redundant blank lines and white spaces after EOL - grammar fix in comments - catch Sqlite3DSError explicitly (but I suspect the exception handling in the xfrin module is naive overall, which should be fixed) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1684 e5f2f494-b856-4b98-b285-d166d9295462
-
Likun Zhang authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1683 e5f2f494-b856-4b98-b285-d166d9295462
-
Likun Zhang authored
Remove the print_message and print_settings from the Xfrin spec and the handlers from the code. (As request in ticket 136) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1682 e5f2f494-b856-4b98-b285-d166d9295462
-
- 06 Apr, 2010 8 commits
-
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1681 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1680 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1679 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1678 e5f2f494-b856-4b98-b285-d166d9295462
-
Likun Zhang authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1677 e5f2f494-b856-4b98-b285-d166d9295462
-
Shane Kerr authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1676 e5f2f494-b856-4b98-b285-d166d9295462
-
Shane Kerr authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1675 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1674 e5f2f494-b856-4b98-b285-d166d9295462
-
- 05 Apr, 2010 1 commit
-
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1673 e5f2f494-b856-4b98-b285-d166d9295462
-
- 01 Apr, 2010 3 commits
-
-
Likun Zhang authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1669 e5f2f494-b856-4b98-b285-d166d9295462
-
Jelte Jansen authored
check map tag size in create functions too, for consistency, i think we should indeed remove the direct map access and constructor, see comment in ticket 129 git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1668 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1667 e5f2f494-b856-4b98-b285-d166d9295462
-
- 31 Mar, 2010 4 commits
-
-
JINMEI Tatuya authored
it cannot exceed 255 bytes, but the "from string" constructor didn't check it. added test cases for long tags including this specific case. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1666 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1665 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
additional cleanups: - unify decode_blob() and decode_utf() since these two are identical. moved the XXX comment to the caller side. - costified the length argument to decode_blob(); it doesn't have to be adjusted. - removed an unnecessary temporary variable (it didn't seem to improve readability) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1664 e5f2f494-b856-4b98-b285-d166d9295462
-
Likun Zhang authored
1. Msgq not running will be complained when start xfrout process alone. 2. Fix xfrout hang when xfrout can't get the command response from config manager. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1662 e5f2f494-b856-4b98-b285-d166d9295462
-
- 27 Mar, 2010 1 commit
-
-
Jeremy C. Reed authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1658 e5f2f494-b856-4b98-b285-d166d9295462
-
- 26 Mar, 2010 8 commits
-
-
Jeremy C. Reed authored
also specifically within "dns/". git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1657 e5f2f494-b856-4b98-b285-d166d9295462
-
Jeremy C. Reed authored
I didn't notice this before because didn't configure with gtest when testing distcheck. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1656 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1655 e5f2f494-b856-4b98-b285-d166d9295462
-
Jeremy C. Reed authored
-I$(top_srcdir)/src/lib/dns -I$(top_builddir)/src/lib/dns Because some includes aren't prefixed with "dns/" like rdata.h, name.h, and rrttl.h in the srcdir and rrtype.h on the builddir. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1654 e5f2f494-b856-4b98-b285-d166d9295462
-
Jeremy C. Reed authored
files are generated. I noticed that these two files were placed in the original source tree and also later in the build tree -- the rrclass.h was identical but the rrtype.h files were different. For the tests look in the top_srcdir for includes also. This should fix the problem I saw on FreeBSD when it was building tests using a tarball from source and building in a different location than the source: In file included from ../../../../../src/lib/dns/tests/unittest_util.cc:29: ../../../../../src/lib/dns/tests/unittest_util.h:77: error: expected unqualified-id before '::' token git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1653 e5f2f494-b856-4b98-b285-d166d9295462
-
Jeremy C. Reed authored
Some CLEANFILES cleanup (don't need to list files already known via configure.ac's AC_OUTPUT). Add b10-xfrout to CLEANFILES to make sure it is removed on a make clean. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1652 e5f2f494-b856-4b98-b285-d166d9295462
-
Jeremy C. Reed authored
Change a path for finding reviewed code in svn. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1651 e5f2f494-b856-4b98-b285-d166d9295462
-
Jeremy C. Reed authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1650 e5f2f494-b856-4b98-b285-d166d9295462
-