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:
except as se:
# No matter why this failed, the connection is in unknown, possibly
# broken state. So, we close the socket and remove the receiver.
logger.warn(DDNS_DROP_CONN, fileno, se)
del self._socksession_receivers[fileno]
logger.warn(DDNS_DROP_CONN, fileno, se)
def run(self):
Supports Markdown
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