BIND 10 trac658, created. f6556f773732939bf68129e8c1fa10e84f8f2e36 [trac658] basic qid check
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Mar 10 09:14:27 UTC 2011
The branch, trac658 has been created
at f6556f773732939bf68129e8c1fa10e84f8f2e36 (commit)
- Log -----------------------------------------------------------------
commit f6556f773732939bf68129e8c1fa10e84f8f2e36
Author: Jelte Jansen <jelte at isc.org>
Date: Wed Mar 9 16:26:08 2011 +0100
[trac658] basic qid check
(temporarily) copied the readUint16 code from buffer.h (right now we're not dealing with dns/buffer. Depending on whether we move this check to a point where we do have a buffer or not, we can remove it then or abstract it the moment we decide not to (i was wondering if said code is actually right, btw)
So if a response comes in where the qid does not match, we drop it and receive again (in an 'eternal' loop; until we get the right answer or time out)
the qid generation call is now in the constructor of IOFetchData (as is the qid itself so we can check later)
also added a writeUint8At to dns/buffer, needed in one of the tests.
-----------------------------------------------------------------------
More information about the bind10-changes
mailing list