mirror of
https://github.com/xcat2/confluent.git
synced 2026-12-01 14:52:20 +00:00
bed2ae45d2
onlogon read onlogpayload only after awaiting _cmdwait. If another logon sent the payload or a logout dropped it during that wait, send_payload got None and failed with "cannot convert 'NoneType' object to bytearray". A command timing out during the wait can also start a relogin that queues its own payload on a session no longer logged in. Send the payload only if it is still pending and the session is logged in, as raw_command checks after the same wait.