| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
See bug #2367 for the fix-scaffolding.py tool.
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| |
| |
| |
| | |
... which causes Solaris to complain - loudly.
|
|/
|
|
|
|
| |
* Extend logging in IOFetch (and add message definitions)
* Update buffer size setting for UDP socket
* remove spaces at end of lines in other files
|
|
|
|
|
|
|
| |
IOFetch is a general upstream "fetch" class that should be able to
operate over TCP or UDP. Related changes have been made in the
associated classes. So far, only the unit tests for a UDP fetch
have been made (and passed).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Admin tasks:
* Split out io_error.h from asiolink.h
* Made test files follow naming convention of main files
* More discriminatory includes in some files
* Updates tests/Makefile.am
Coding tasks:
* Add additional methods to io_socket.* and put in dummies in
{tcp,udp}_socket.h
* Incorporated basic IO Fetch code from Scott
|
| |
|
|
|
|
|
| |
asiolink.h is now merely a 'collection' header that includes all the
rest
|
|\ |
|
| |
| |
| |
| | |
and updated some doxygens as per Jeremy's mail
|
|\| |
|
| |\
| | |
| | |
| | |
| | | |
Conflicts:
src/lib/asiolink/asiolink.cc
|
| | |
| | |
| | |
| | |
| | | |
Removed some dead code, added two unit tests, changed sendQuery() to the
more descriptive resolve(), and removed a superfluous call to dlog()
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Added a abstract placeholder for callbacks in asio (for now); which has
two subclasses; one takes a DNSServer* and calls resume() on it when the
runningquery finished its lookup (or fails), the other one is provided a
callback as defined in isc::nsas::ResolverInterface.
These are more objects that are newed while running and delete
themselves, and they may not even be necessary, but for now this makes
it work while doing the least amount of changes in other parts.
RunnigQuery now takes one of these objects instead of a DNSServer*, and
the objects decide what should be done once it is ready.
Things to do:
- remove the temporary MyCallback class from resolver (perhaps move it
to a unittest)
- move ResolverInterface out of nsas, as well as its Callback thingy,
and merge it with the new callback holders
- general cleanup and tests (although, as with current resolver tests,
need framework to fake outside query handling)
|
| |\ \
| | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
Conflicts:
src/bin/resolver/resolver.cc
src/lib/asiolink/asiolink.cc
src/lib/asiolink/asiolink.h
src/lib/asiolink/tests/asiolink_unittest.cc
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Note that client_timeout at this point has the same result as
lookup_timeout.
Changed self-deletion of RunningQuery a bit, as it
cannot delete itselfs until we are sure there are not events coming in
anymore. If we change the clientTimeout() callback to send an answer and
not stop, we shall need to keep track of that fact (i.e. not send back
an answer in the end, and update stop since it won't be called by
clientTimeout() anymore
When adding the asiolink tests for these features, added a few
convenience functions for common code in those tests.
|
| |\ \ |
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | | |
Conflicts:
src/bin/resolver/resolver.cc
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
though atm completely unused
|
| | |/ /
| |/| | |
|
| | |/
| | |
| | |
| | |
| | | |
briefly talked about it on jabber, no one opposed to it, Jeremy explicitly
agreed. changes are trivial themselves, so no explicit review.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Modified the interface of IntervalTimer to accept interval in
milliseconds.
Tests for IntervalTimer are also modified; now it takes 1.4 seconds.
|
| | |
| | |
| | |
| | | |
ticket #513)
|
| |/
|/|
| |
| |
| | |
Renamed IntervalTimer::setupTimer() -> IntervalTimer::setup()
Renamed IntervalTimerImpl::updateTimer() -> IntervalTimerImpl::update()
|
| |
| |
| |
| | |
the timer.
|
|/
|
|
| |
other tests.
|
|
|
|
|
|
|
| |
Changed some names.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac470@4130 e5f2f494-b856-4b98-b285-d166d9295462
|
|
|
|
|
|
|
| |
skipping review.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@4063 e5f2f494-b856-4b98-b285-d166d9295462
|
|
|
|
|
|
| |
r3685:r4016)
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@4026 e5f2f494-b856-4b98-b285-d166d9295462
|
|
|
|
|
|
|
|
|
| |
- member functions with a definition will automatically be inlined
- virtual functions cannot be inlined anyway
believing trivial, skip review.
git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@4009 e5f2f494-b856-4b98-b285-d166d9295462
|
|
|
|
| |
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@3818 e5f2f494-b856-4b98-b285-d166d9295462
|
|\
| |
| |
| | |
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/vorner-recursor-timeouts@3606 e5f2f494-b856-4b98-b285-d166d9295462
|
| |
| |
| |
| | |
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@3501 e5f2f494-b856-4b98-b285-d166d9295462
|
| |
| |
| |
| |
| |
| | |
asiolink compiles and passes tests
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/vorner-recursor-config@3431 e5f2f494-b856-4b98-b285-d166d9295462
|
| |\
| | |
| | |
| | |
| | |
| | | |
Doesn't compile yet. Only detected code-level conflicts resolved.
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/vorner-recursor-config@3423 e5f2f494-b856-4b98-b285-d166d9295462
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
However, it does not seem to close the sockets. It needs to be addressed
somehow and fixed (there's one disabled test because of that).
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/vorner-recursor-config@3337 e5f2f494-b856-4b98-b285-d166d9295462
|