Permalink
Browse files

unrequired socket.close()

  • Loading branch information...
1 parent fe7333e commit de844d66fe24a78f6e8070f3792948821a91f20b @reidrac committed Jan 24, 2013
Showing with 0 additions and 1 deletion.
  1. +0 −1 swiftnbd/server.py
View
1 swiftnbd/server.py
@@ -103,7 +103,6 @@ def handler(self, socket, address):
if magic != 0x25609513:
self.log.error("[%s:%s]: Wrong magic number, disconnecting" % address)
- socket.close()
break
self.log.debug("[%s:%s]: cmd=%s, handle=%s, offset=%s, len=%s" % (host, port, cmd, handle, offset, length))

0 comments on commit de844d6

Please sign in to comment.