[Bug 8423] Listing a non-existent remote directory hangs

samba-bugs at samba.org samba-bugs at samba.org
Sun Sep 11 12:15:55 MDT 2011


https://bugzilla.samba.org/show_bug.cgi?id=8423

Wayne Davison <wayned at samba.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Wayne Davison <wayned at samba.org> 2011-09-11 18:15:55 UTC ---
In the case where the chdir failed, rsync was setting an I/O error prior to
aborting (due to an empty file list), and that would trigger an attempt to
stick around waiting for a clean exit, even though it hadn't output enough
protocol data to tell the remote side everything was done.

I have changed the code to force this premature exit to exit w/o delay.  I
should probably revisit this empty-flist abnormal exit sequence in order to
make the protocol behave more cleanly, but this fix is good enough for now.

Thanks for the report!

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the rsync mailing list