[lorax] livemedia-creator: close the socket when done
Brian C. Lane
bcl at redhat.com
Wed Jul 16 18:51:23 UTC 2014
In some cases the socket may not be closed, so make sure it is to
prevent hangs when shutting down the virt.
---
src/sbin/livemedia-creator | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/sbin/livemedia-creator b/src/sbin/livemedia-creator
index be34061..e25d422 100755
--- a/src/sbin/livemedia-creator
+++ b/src/sbin/livemedia-creator
@@ -128,6 +128,7 @@ class LogRequestHandler(SocketServer.BaseRequestHandler):
break
def finish(self):
+ self.request.close()
self.fp.close()
def iserror(self, line):
--
1.9.3
More information about the anaconda-patches
mailing list