Skip to content
Snippets Groups Projects
Commit 8a2b80b3 authored by Kipp Cannon's avatar Kipp Cannon
Browse files

httpinterface: add more verbosity

- helpful in identifying a jammed server start-up sequence
parent 1a7b84f4
No related branches found
No related tags found
No related merge requests found
......@@ -114,6 +114,8 @@ class HTTPServers(list):
httpd_thread.daemon = True
httpd_thread.start()
self.append((httpd, httpd_thread))
if verbose:
print >>sys.stderr, "waiting for http server to start ..."
while httpd.port == 0:
pass
host = httpd.host if httpd.host != "0.0.0.0" else socket.getfqdn()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment