mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-15 04:07:51 +00:00
Fix overly verbose log on client close
When a client would close (e.g. an unathenticated nodelist), a large trace be logged. Fix by returning silently in such a case.
This commit is contained in:
parent
952fa3d022
commit
c86ac2885f
@ -127,6 +127,8 @@ def sessionhdl(connection, authname, skipauth=False, cert=None):
|
||||
while not authenticated: # prompt for name and passphrase
|
||||
send_data(connection, {'authpassed': 0})
|
||||
response = tlvdata.recv(connection)
|
||||
if not response:
|
||||
return
|
||||
if 'collective' in response:
|
||||
return collective.handle_connection(connection, cert,
|
||||
response['collective'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user