- 31 May, 2010 1 commit
-
-
Jelte Jansen authored
Use asio's io_service for the msgq handling in auth as well. Needed to add a getter for the io_service to asio_link. This may very wel come under reconsideration for the next release, but it is needed right now to get it to work again ;) (most likely refactor is to move the ModuleCCSession into the link or maybe even into AuthSrv itself) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2007 e5f2f494-b856-4b98-b285-d166d9295462
-
- 29 May, 2010 1 commit
-
-
Evan Hunt authored
by the removal of the non-ASIO query processing code). git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1985 e5f2f494-b856-4b98-b285-d166d9295462
-
- 28 May, 2010 1 commit
-
-
JINMEI Tatuya authored
- suppress the gcc unused parameters warning selectively (as a workaround) in a most portable way - introduce B10_CXXFLAGS as the default to AM_CXXFLAGS to make the first change possible (that's why I modified so many other Makefile.am's even if they are irrelevant to asio) - remove dependency on boost system library: it was only needed for the boost version of ASIO. - hide details that require ASIO related definitions from xfr_client.h to avoid being hit by the 'unused parameter' problem accidentally. git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac168@1953 e5f2f494-b856-4b98-b285-d166d9295462
-
- 27 May, 2010 1 commit
-
-
JINMEI Tatuya authored
used a separate internal library for ASIO related code to avoid the unused-parameter warning due to the ASIO code. git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac168@1950 e5f2f494-b856-4b98-b285-d166d9295462
-
- 20 May, 2010 2 commits
-
-
Jelte Jansen authored
(message queuing on cc channel) see also http://bind10.isc.org/ticket/58 git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1870 e5f2f494-b856-4b98-b285-d166d9295462
-
Evan Hunt authored
http://sourceforge.net/projects/asio/files, project page http://think-async.com/Asio). - removed uses of boost::asio - removed custom TCP/UDP code git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac168@1864 e5f2f494-b856-4b98-b285-d166d9295462
-
- 23 Apr, 2010 1 commit
-
-
Likun Zhang authored
2. Remove unused socket file when Xfrout process exits.(Reported in ticket 151) 3. Make sure Xfrout can exit by itself when it receives SIGINT, instead of being killed by the signal SIGTERM or SIGKILL sent from boss.(Get more details in ticket 134). (This patch has been reviewed by Shane.) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1797 e5f2f494-b856-4b98-b285-d166d9295462
-
- 24 Mar, 2010 1 commit
-
-
JINMEI Tatuya authored
(first aid workaround with ugly ifdef's, but worked) also fixed the problem that "from source" didn't work. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1636 e5f2f494-b856-4b98-b285-d166d9295462
-
- 23 Mar, 2010 2 commits
-
-
Jelte Jansen authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1632 e5f2f494-b856-4b98-b285-d166d9295462
-
Likun Zhang authored
1. When auth server get axfr query in tcp, the query message and tcp socket will be sent to xfrout process over sendmsg/recvmsg, then auth server will close the tcp socket, or get the next tcp query on the socket. Xfrout send the query response over the tcp socket it received from auth server. 2. Since python3.1 didn't provide the wrapper of sendmsg() and recvmsg() for C socket module(Seems they plan do it in python3.2), I have to write the code in c++, and make python binding for it. See the code in file /src/lib/xfr/fd_share.cc and /src/lib/xfr/python_xfr.cc. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1630 e5f2f494-b856-4b98-b285-d166d9295462
-
- 20 Mar, 2010 1 commit
-
-
JINMEI Tatuya authored
additional related cleanups were made as well. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1617 e5f2f494-b856-4b98-b285-d166d9295462
-
- 18 Mar, 2010 8 commits
-
-
Jelte Jansen authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1557 e5f2f494-b856-4b98-b285-d166d9295462
-
Shane Kerr authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1544 e5f2f494-b856-4b98-b285-d166d9295462
-
Shane Kerr authored
Full fix needs to be to do partial reads on TCP connections. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1540 e5f2f494-b856-4b98-b285-d166d9295462
-
Evan Hunt authored
/tmp/zone.sqlite3. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1536 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
(also shorten the name space specification for the V6ONLY option) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1525 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
(with additional cleanup: removed unnecessary UNUSED_PARAM, minimize the use of temporary varaibles) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1524 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
(regression of r1292) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1523 e5f2f494-b856-4b98-b285-d166d9295462
-
Jelte Jansen authored
fixed a problem with asio port binding, if you specify v6() without further options, it binds to both IPv4 and IPv6 (at least in my version), so we need to specify a v6-only option for the UDPServer and TCPServer that listen on v6 git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1512 e5f2f494-b856-4b98-b285-d166d9295462
-
- 16 Mar, 2010 1 commit
-
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1460 e5f2f494-b856-4b98-b285-d166d9295462
-
- 12 Mar, 2010 5 commits
-
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1380 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1378 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
style guideline conformance deprecated file-static, and put everything except main() in an anonymous namespace. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1377 e5f2f494-b856-4b98-b285-d166d9295462
-
Jelte Jansen authored
added sanity checks within those functions (and tests for that) changes createAnswer(int rcode) to createAnswer() since rcode should only be 0 if there is not argument git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1368 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
also changed the return type of AuthSrv::processMessage() from int to bool (we actually used it as a boolean flag, so it didn't make sense to call it an integer) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1351 e5f2f494-b856-4b98-b285-d166d9295462
-
- 11 Mar, 2010 2 commits
-
-
Jelte Jansen authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1322 e5f2f494-b856-4b98-b285-d166d9295462
-
JINMEI Tatuya authored
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1307 e5f2f494-b856-4b98-b285-d166d9295462
-
- 10 Mar, 2010 10 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
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@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 1 commit
-
-
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
-