]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1454] Comment update
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Mon, 23 Jan 2012 16:01:38 +0000 (17:01 +0100)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Mon, 23 Jan 2012 16:01:38 +0000 (17:01 +0100)
It got outdated and inaccurate.

src/bin/ddns/ddns.py.in

index 7e855f83c3188db15cc76e7c089dc7f33912d746..c5b22e95a57022ea6df4943bba324675e09e8a37 100755 (executable)
@@ -193,11 +193,12 @@ class DDNSServer:
         cc_fileno = self._cc.get_socket().fileno()
         listen_fileno = self._listen_socket.fileno()
         while not self._shutdown:
-            # We do not catch any exceptions here right now, but this would
-            # be a good place to catch any exceptions that b10-ddns can
-            # recover from. We currently have no exception hierarchy to
-            # make such a distinction easily, but once we do, this would
-            # be the place to catch.
+            # In this event loop we propage most of exceptions, which will
+            # subsequently kill the b10-ddns process, but ideally it would be
+            # better to catch any exceptions that b10-ddns can recover from.
+            # We currently have no exception hierarchy to make such a
+            # distinction easily, but once we do, we should catch and handle
+            # non fatal exceptions here and continue the process.
 
             try:
                 (reads, writes, exceptions) = \