BIND 10 trac2439, updated. 9859c1d73774b09bab6aee9dc8082428097aeae9 [2439] (minor) Comment updates
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Jan 24 14:21:10 UTC 2013
The branch, trac2439 has been updated
via 9859c1d73774b09bab6aee9dc8082428097aeae9 (commit)
from f6882b13b9264d0d64345a341a73c75ae6d9c535 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9859c1d73774b09bab6aee9dc8082428097aeae9
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date: Thu Jan 24 15:20:42 2013 +0100
[2439] (minor) Comment updates
-----------------------------------------------------------------------
Summary of changes:
src/bin/xfrin/xfrin.py.in | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/xfrin/xfrin.py.in b/src/bin/xfrin/xfrin.py.in
index 81fcff2..a9258b9 100755
--- a/src/bin/xfrin/xfrin.py.in
+++ b/src/bin/xfrin/xfrin.py.in
@@ -421,8 +421,9 @@ class XfrinIXFRAdd(XfrinState):
conn.get_transfer_stats().ixfr_changeset_count += 1
soa_serial = get_soa_serial(rr.get_rdata()[0])
if soa_serial == conn._end_serial:
- # The final part is there. Check all was signed
- # and commit it to the database.
+ # The final part is there. Finish the transfer by
+ # checking the last TSIG (if required), the zone data and
+ # commiting.
conn.finish_transfer()
self.set_xfrstate(conn, XfrinIXFREnd())
return True
@@ -493,12 +494,9 @@ class XfrinAXFREnd(XfrinState):
"""
Final processing after processing an entire AXFR session.
- In this process all the AXFR changes are committed to the
- data source.
-
- There might be more actions here, but for now we simply return False,
- indicating there will be no more message to receive.
-
+ This simply calls the finish_transfer method of the connection
+ that ensures it is signed by TSIG (if required), the zone data
+ is valid and commits it.
"""
conn.finish_transfer()
return False
More information about the bind10-changes
mailing list