]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] Revert one change from #2398
authorJelte Jansen <jelte@isc.org>
Thu, 29 Nov 2012 23:49:19 +0000 (15:49 -0800)
committerJelte Jansen <jelte@isc.org>
Thu, 29 Nov 2012 23:49:19 +0000 (15:49 -0800)
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

src/bin/msgq/msgq.py.in

index bd99c8c51efe70cdb27567a336d56f3085eb2099..bd13a1c188e219cf0185fa11413b819715b46af7 100755 (executable)
@@ -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: