mirror of
https://github.com/GNS3/gns3-server
synced 2024-12-29 02:08:10 +00:00
Display the ZeroMQ version when the server starts. Fixes #8.
This commit is contained in:
parent
31866113e4
commit
e7d9f73e1e
@ -500,6 +500,6 @@ class Dynamips(IModule):
|
||||
try:
|
||||
response = self._get_windows_interfaces()
|
||||
except ImportError:
|
||||
self.send_custom_error("Optional pywin32 module is not installed, please install it on the server to get the available interface names")
|
||||
self.send_custom_error("pywin32 module is not installed, please install it on the server to get the available interface names")
|
||||
return
|
||||
self.send_response(response)
|
||||
|
@ -145,10 +145,11 @@ class Server(object):
|
||||
debug=True) # FIXME: debug mode!
|
||||
|
||||
try:
|
||||
print("Starting server on {}:{} (Tornado v{}, PyZMQ v{})".format(self._host,
|
||||
self._port,
|
||||
tornado.version,
|
||||
zmq.__version__))
|
||||
print("Starting server on {}:{} (Tornado v{}, PyZMQ v{}, ZMQ v{})".format(self._host,
|
||||
self._port,
|
||||
tornado.version,
|
||||
zmq.__version__,
|
||||
zmq.zmq_version()))
|
||||
kwargs = {"address": self._host}
|
||||
if parse_version(tornado.version) >= parse_version("3.1"):
|
||||
kwargs["max_buffer_size"] = 524288000 # 500 MB file upload limit
|
||||
|
Loading…
Reference in New Issue
Block a user