- 24 Feb, 2011 2 commits
-
-
Stephen Morris authored
* Extend logging in IOFetch (and add message definitions) * Update buffer size setting for UDP socket * remove spaces at end of lines in other files
-
Stephen Morris authored
-
- 23 Feb, 2011 1 commit
-
-
Stephen Morris authored
-
- 22 Feb, 2011 2 commits
-
-
Jelte Jansen authored
updated a comment description, and moved caching of answers to after the response classifier has run
-
Jelte Jansen authored
-
- 21 Feb, 2011 4 commits
-
-
Stephen Morris authored
-
Stephen Morris authored
-
Jelte Jansen authored
These should probably really be done by asio.hpp
-
Jelte Jansen authored
they appeared to still have been too low for some systems
-
- 18 Feb, 2011 5 commits
-
-
Stephen Morris authored
-
Stephen Morris authored
-
Stephen Morris authored
Replaced with IOFetch with a protocol selection of UDP.
-
Jelte Jansen authored
-
Stephen Morris authored
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).
-
- 17 Feb, 2011 3 commits
-
-
Jelte Jansen authored
the check that we have already sent something if the timeout happens to fire was missing, discussed with Jeremy on jabber
-
Jelte Jansen authored
-
Jelte Jansen authored
Added some extensive dlog() calls for testing while we are building this
-
- 16 Feb, 2011 2 commits
-
-
Jelte Jansen authored
It only stores the final result, and only looks into the cache at the start of a resolve() call right now, but it appears to work
-
Stephen Morris authored
Updated function names to match convention. Also added receiveComplete() to prepare for the fact that a TCP receive may require multiple reads before the complete message is read.
-
- 15 Feb, 2011 1 commit
-
-
Stephen Morris authored
-
- 14 Feb, 2011 9 commits
-
-
Jelte Jansen authored
forgot an EXTRA_DIST for the distcheck, and sunstudio needs unistd to be included before asio.hpp
-
Stephen Morris authored
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
-
Jelte Jansen authored
The test directory now contains test files that used to be in internal/ (where the makefile did have this addition)
-
Jelte Jansen authored
and removed empty top level file
-
Jelte Jansen authored
-
Jelte Jansen authored
Though most of the tests fell into recursive_query_unittest.cc
-
Jelte Jansen authored
-
Jelte Jansen authored
-
Jelte Jansen authored
and moved them out of internal. Changed the internal/ workaround (to prevent files outside of asiolink/ to indirectly include asio.hpp), the .cc files that include the relevant headers must include asio.hpp themselves (and this is checked in the headers) Also moved coroutine out of internal. Tests are still todo (which is why internal/ still exists)
-
- 11 Feb, 2011 3 commits
-
-
Jelte Jansen authored
-
Jelte Jansen authored
asiolink.h is now merely a 'collection' header that includes all the rest
-
Jelte Jansen authored
as to copySection, it's now called appendSection, and works the other way around (i.e. it copies from a source message into the object, instead of copying from the object to a target message), which feels more natural
-
- 10 Feb, 2011 1 commit
-
-
Scott Mann authored
-
- 09 Feb, 2011 1 commit
-
-
Jelte Jansen authored
and updated some doxygens as per Jeremy's mail
-
- 07 Feb, 2011 3 commits
-
-
Jelte Jansen authored
client timeout and auth errors now result in SERVFAIL being sent back added copySection and moved copyAnswerMessage to resolve.cc (no need to have that in asiolink)
-
Jelte Jansen authored
clearSection is a convenience function to clear all RRsets in a message used by makeErrorMessage, which is a helper function to quickly clear any data built up in the answer so far, and set an error Rcode
-
Jelte Jansen authored
This adds two arguments to classify(), cname_target and cname_count; which are modified if a CNAME chain is found (so we don't have to jump through the packet twice with exactly the same code)
-
- 04 Feb, 2011 2 commits
-
-
Jelte Jansen authored
-
Jelte Jansen authored
-
- 03 Feb, 2011 1 commit
-
-
Scott Mann authored
Now both tcp and udp are supported in IOFetch
-