Bug 3292 - smbclient spins if server closed the connection
Summary: smbclient spins if server closed the connection
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Client Tools (show other bugs)
Version: 3.0.20b
Hardware: Other Linux
: P3 minor
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-30 03:42 UTC by Volker Lendecke
Modified: 2005-11-30 10:54 UTC (History)
0 users

See Also:


Attachments
Add debug message and return if receive_smb fails in readline_callback (484 bytes, patch)
2005-11-30 03:44 UTC, Volker Lendecke
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Lendecke 2005-11-30 03:42:58 UTC
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
Comment 1 Volker Lendecke 2005-11-30 03:44:57 UTC
Created attachment 1601 [details]
Add debug message and return if receive_smb fails in readline_callback
Comment 2 Jeremy Allison 2005-11-30 10:54:33 UTC
Applied (PS. Why didn't you just commit this ?).
Jeremy.