BIND 10 #401: Timouts in the recursor
BIND 10 Development
do-not-reply at isc.org
Sat Nov 20 16:15:08 UTC 2010
#401: Timouts in the recursor
------------------------------+---------------------------------------------
Reporter: vorner | Owner: stephen
Type: enhancement | Status: reviewing
Priority: major | Milestone:
Component: recurser | Resolution:
Keywords: | Sensitive: 0
Estimatedhours: 0.0 | Hours: 0
Billable: 1 | Totalhours: 0
Internal: 0 |
------------------------------+---------------------------------------------
Changes (by vorner):
* owner: vorner => stephen
Comment:
Replying to [comment:3 stephen]:
> '''src/lib/asiolink/tests/udpdns_unittest.cc'''[[BR]]
> Please check with Shane about the modification to the standard copyright
notice (i.e. the change to copyright CZ.nic). I'm not certain what the
arrangement was concerning copyright.
It was agreed that I write CZ.nic until the agreement is finished, then
all the headers will be changed to ISC. I'm not sure if it was already
signed or not, I hope I'll get notified once it is.
> The standard seems to be to append an underscore to class member
variables; this should be considered here.
You mean to object member variables, right?
I originally guessed this marks a private member, not variable and since I
had them all public, I didn't give them underscores. But I added them.
> Test classes and methods should be documented to the same standards as
the code being tested (so method and class headers should be added).
I added comments to them, but not doxygen ones (having interface of tests
in the API documentation does not seem useful).
> In TEST_F(UDPQuery, stop), it is not clear why two calls to
service.post() are being made. The check only tests that the callback
function is called, and does not seem to distinguish the effects of the
two calls.
I tried to explain it in a comment. The second post is not for query, but
for stop() ‒ I test stopping the query both after it got called and
before.
> '''src/lib/asiolink/internal/udpdns.h'''[[BR]]
> Using a shared_ptr is a good idea to minimise the overhead of copying.
However, "Priv" is not a very descriptive name for the structure (I
thought it was short for "privilege"). I would suggest something like
"!UdpQueryData".
I changed it to PrivateData (UdpQueryData seems too much duplicating, as
it is inside UDPQuery class already).
Everything else should be done now. Do you think it is clean to sync
before merge?
Thank you
--
Ticket URL: <http://bind10.isc.org/ticket/401#comment:4>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list