From: Jelte Jansen Date: Thu, 29 Nov 2012 23:49:19 +0000 (-0800) Subject: [master] Revert one change from #2398 X-Git-Tag: bind10-1.0.0-beta-release~52^2~1^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9a5e89e0e6aab0e50005cf9f9d7bf577eedd1bf3;p=thirdparty%2Fkea.git [master] Revert one change from #2398 Removed the socket.shutdown() before socket.close() again, this seemed to cause some errors with the statistics tests (which we will look into separately) Discussed on jabber --- diff --git a/src/bin/msgq/msgq.py.in b/src/bin/msgq/msgq.py.in index bd99c8c51e..bd13a1c188 100755 --- a/src/bin/msgq/msgq.py.in +++ b/src/bin/msgq/msgq.py.in @@ -239,7 +239,6 @@ class MsgQ: self.subs.unsubscribe_all(sock) lname = [ k for k, v in self.lnames.items() if v == sock ][0] del self.lnames[lname] - sock.shutdown(socket.SHUT_RDWR) sock.close() del self.sockets[fd] if fd in self.sendbuffs: