From: Michal 'vorner' Vaner Date: Mon, 23 Jan 2012 16:01:38 +0000 (+0100) Subject: [1454] Comment update X-Git-Tag: trac2351_base~275^2~7^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4209099e4baeab29615cc28208f1ca8889ca71ad;p=thirdparty%2Fkea.git [1454] Comment update It got outdated and inaccurate. --- diff --git a/src/bin/ddns/ddns.py.in b/src/bin/ddns/ddns.py.in index 7e855f83c3..c5b22e95a5 100755 --- a/src/bin/ddns/ddns.py.in +++ b/src/bin/ddns/ddns.py.in @@ -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) = \