2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-15 20:27:50 +00:00

Fix spurious trace on immediate exit confetty

When confetty exits without doing anything, it causes
sockapi to reference an empty request.  Check for that before
checking if it is a collective request.
This commit is contained in:
Jarrod Johnson 2018-10-25 14:12:15 -04:00
parent c150a848fd
commit c96b5f0270

View File

@ -143,7 +143,7 @@ def sessionhdl(connection, authname, skipauth=False, cert=None):
cfm = authdata[1]
send_data(connection, {'authpassed': 1})
request = tlvdata.recv(connection)
if 'collective' in request and skipauth:
if request and 'collective' in request and skipauth:
if not libssl:
tlvdata.send(
connection,