Browse Source

[1262] Extend the state machine comment

So it includes the AXFR part as well.
Michal 'vorner' Vaner 13 years ago
parent
commit
ae43bdedcf
1 changed files with 7 additions and 3 deletions
  1. 7 3
      src/bin/xfrin/xfrin.py.in

+ 7 - 3
src/bin/xfrin/xfrin.py.in

@@ -142,7 +142,6 @@ class XfrinState:
     machine because they cannot be distinguished immediately - an AXFR
     machine because they cannot be distinguished immediately - an AXFR
     response to an IXFR request can only be detected when the first two (2)
     response to an IXFR request can only be detected when the first two (2)
     response RRs have already been received.
     response RRs have already been received.
-    NOTE: the AXFR part of the state machine is incomplete at this point.
 
 
     The following diagram summarizes the state transition.  After sending
     The following diagram summarizes the state transition.  After sending
     the query, xfrin starts the process with the InitialSOA state (all
     the query, xfrin starts the process with the InitialSOA state (all
@@ -151,8 +150,13 @@ class XfrinState:
     process successfully completes.
     process successfully completes.
 
 
 
 
-            (recv SOA)       (AXFR-style IXFR)
-    InitialSOA------->FirstData------------->AXFR
+            (recv SOA)       (AXFR-style IXFR)      (SOA)
+    InitialSOA------->FirstData------------->AXFR--------->AXFREnd
+                          |                  |  ^
+                          |                  |  |
+                          |                  +--+
+                          |                (non SOA)
+                          |
                           |                     (non SOA, delete)
                           |                     (non SOA, delete)
                (pure IXFR,|                           +-------+
                (pure IXFR,|                           +-------+
             keep handling)|             (Delete SOA)  V       |
             keep handling)|             (Delete SOA)  V       |