While testing Samba's deadtime behaviour I found that smbclient uses 100% CPU when the server has closed the connection. The patch to be attached turns this into a debug message every couple of seconds, maybe we should exit if receive_smb fails. Volker
Created attachment 1601 [details] Add debug message and return if receive_smb fails in readline_callback
Applied (PS. Why didn't you just commit this ?). Jeremy.