Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
b8fec5c4
Commit
b8fec5c4
authored
Jan 23, 2012
by
Michal 'vorner' Vaner
Browse files
[1454] Reorder logging
So the close happens every time.
parent
4209099e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/ddns/ddns.py.in
View file @
b8fec5c4
...
...
@@ -180,9 +180,9 @@ class DDNSServer:
except isc.util.io.socketsession.SocketSessionError 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)
socket.close()
del self._socksession_receivers[fileno]
socket.close()
logger.warn(DDNS_DROP_CONN, fileno, se)
def run(self):
'''
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment