Commit b8fec5c4 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[1454] Reorder logging

So the close happens every time.
parent 4209099e
...@@ -180,9 +180,9 @@ class DDNSServer: ...@@ -180,9 +180,9 @@ class DDNSServer:
except isc.util.io.socketsession.SocketSessionError as se: except isc.util.io.socketsession.SocketSessionError as se:
# No matter why this failed, the connection is in unknown, possibly # No matter why this failed, the connection is in unknown, possibly
# broken state. So, we close the socket and remove the receiver. # broken state. So, we close the socket and remove the receiver.
logger.warn(DDNS_DROP_CONN, fileno, se)
socket.close()
del self._socksession_receivers[fileno] del self._socksession_receivers[fileno]
socket.close()
logger.warn(DDNS_DROP_CONN, fileno, se)
def run(self): def run(self):
''' '''
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment