Log supported ip types when binding

This commit is contained in:
shortcutme 2019-01-20 16:18:48 +01:00
parent a5e63de016
commit f42d088fbc
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -84,10 +84,10 @@ class ConnectionServer(object):
self.log.info("No port found, not binding") self.log.info("No port found, not binding")
return False return False
self.log.debug("Binding to: %s:%s, (msgpack: %s), supported crypt: %s" % ( self.log.debug("Binding to: %s:%s, (msgpack: %s), supported crypt: %s, supported ip types: %s" % (
self.ip, self.port, self.ip, self.port, ".".join(map(str, msgpack.version)),
".".join(map(str, msgpack.version)), CryptConnection.manager.crypt_supported) CryptConnection.manager.crypt_supported, self.supported_ip_types
) ))
try: try:
self.pool = Pool(500) # do not accept more than 500 connections self.pool = Pool(500) # do not accept more than 500 connections
self.stream_server = StreamServer( self.stream_server = StreamServer(