- 15 Mar, 2011 2 commits
-
-
Stephen Morris authored
... to make it easier to comment out sets of tests for debugging.
-
Stephen Morris authored
In the NSAS, store a pointer to the resolver as a "raw" pointer, not a shared pointer. The NSAS is part of the resolver, although it can call back into the resolver. If both store a shared pointer to each other we can have the case where the reference counts can never drop to zero.
-
- 11 Mar, 2011 16 commits
-
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
Jelte Jansen authored
added a comment that at this point this is safe
-
-
Jelte Jansen authored
-
Jelte Jansen authored
-
jelte authored
-
Jelte Jansen authored
-
Jelte Jansen authored
Conflicts: src/lib/Makefile.am src/lib/asiolink/Makefile.am src/lib/asiolink/tcp_socket.h src/lib/asiolink/tests/Makefile.am src/lib/nsas/asiolink.h src/lib/resolve/recursive_query.cc
-
Michal 'vorner' Vaner authored
-
Jelte Jansen authored
-
zhanglikun authored
-
zhanglikun authored
-
zhanglikun authored
-
JINMEI Tatuya authored
The fixed (even pre-fixed) code alrady handles this case correctly.
-
JINMEI Tatuya authored
As commented this may not be the cleanest solution, but should work as a middle term workaround. We should later revisit the base design, clarify responsibility of cache and real data sources better.
-
- 10 Mar, 2011 11 commits
-
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
not related to the subject of this ticket, and the test semantics hasn't changed.
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
Stephen Morris authored
-
Stephen Morris authored
Conflicts: src/lib/server_common/tests/Makefile.am
-
-
Jelte Jansen authored
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
I added test cases for the bug, of course, and I also needed to change the definition and tests for RBTreeNodeChain::RBT_MAX_LEVEL because this fix changed the tree structure when the root node is contained. The special case in find() and insert() due to the root name is counter intuitive, but for now we need it to make it work correctly. In near future for performance enhancements, I have a plan to update the internal to support the notion of "label sequences" where a sequence may not always be terminated with ".". I expect we can simply the code around this when this happens. Proposed changelog: {{{ 195.? [bug] jinmei b10-auth, src/lib/datasrc: the backend of the in-memory data source could not handle the root name. As a result b10-auth could not work as a root server when using the in-memory data source. (Trac #683, git TBD) }}}
-
- 09 Mar, 2011 11 commits
-
-
Michal 'vorner' Vaner authored
If we ask python to import module.submodule, it gets the first module/ directory with __init__.py in it. This is a problem if our module (actually bindctl program) has some generated and some ready files. So this uses the module.submodule only for the not generated ones, and has module/ directly in path for the generated (we import submodule, not module.submodule). This is only in the test.
-
JINMEI Tatuya authored
For testing purpose I also renamed bindctl-source.py to bindctl_main.py. I needed to replace dash with underscore to use it in an import statement, and _main seemed to better explain what it is than _source, so I also renamed that part.
-
Stephen Morris authored
In a previous change, nothing was being returned to the client in the UDOP send/receive test. This was only detected on the Mac. This change fixes that problem.
-
Stephen Morris authored
Previously the client sent a message asynchronously to the server and the server synchronously received it. Then the code waited for the client send to complete. However, this hangs under Solaris. So now the wait occurs after the asynchronous send but before the synchronous receive, which Solaris can apparently cope with.
-
Stephen Morris authored
Added newline to end of io_message.h (missed that file in a previous update) and disabled debug messages in the IOFetch unit test.
-
Stephen Morris authored
In the IOFetch unit test, modify the send buffer size to match the size of the TCP socket send buffer in a bid to solve problems with the test on FreeBSD.
-
Stephen Morris authored
... which causes Solaris to complain - loudly.
-
Jeremy C. Reed authored
okayed via jabber
-
Stephen Morris authored
Conflicts: src/lib/asiolink/Makefile.am src/lib/asiolink/io_fetch.cc src/lib/log/Makefile.am
-
Stephen Morris authored
The link was failing on Ubuntu because the loader was not able to find some libraries referred to by libserver_common. Adding the libries explicitly in the link solves this problem.
-
Stephen Morris authored
-