mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-22 13:34:04 +03:00
Fixed connection for not checking connections
This commit is contained in:
parent
ea0727993e
commit
f43a65e026
@ -112,7 +112,7 @@ class Connection(Handler):
|
||||
'not_accesible': not servicePool.isAccessAllowed(),
|
||||
'to_be_replaced': False, # Manually assigned will not be autoremoved never
|
||||
'transports': trans,
|
||||
'in_use': svr.in_use})
|
||||
'in_use': servicePool.in_use})
|
||||
|
||||
logger.debug(services)
|
||||
|
||||
@ -162,6 +162,8 @@ class Connection(Handler):
|
||||
'protocol': 'unknown',
|
||||
'ip': ip
|
||||
}
|
||||
logger.debug('ip: {}, userService: {}, iads: {}, trans: {}, itrans: {}'.format(ip, userService, iads, trans, itrans))
|
||||
if doNotCheck is False:
|
||||
ci.update(itrans.getConnectionInfo(userService, self._user, 'UNKNOWN'))
|
||||
return Connection.result(result=ci)
|
||||
except ServiceNotReadyError as e:
|
||||
|
Loading…
Reference in New Issue
Block a user