DO NOT REPLY [Bug 5478] rsync: writefd_unbuffered failed to write 4092 bytes [sender]: Broken pipe (32)

samba-bugs at samba.org samba-bugs at samba.org
Wed May 21 14:30:41 GMT 2008


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





------- Comment #3 from development--bugzilla.samba.org at medium.net  2008-05-21 09:30 CST -------
My intuition says that the bug more lies in "io.c" (
http://git.samba.org/?p=rsync.git;a=blob;f=io.c;hb=73cb6738b33846130c21f2903b2200fa3f1903ab
):


#define SELECT_TIMEOUT 30

...

void set_io_timeout(int secs)
{
        io_timeout = secs;

        if (!io_timeout || io_timeout > SELECT_TIMEOUT)
                select_timeout = SELECT_TIMEOUT;
        else
                select_timeout = io_timeout;

        allowed_lull = read_batch ? 0 : (io_timeout + 1) / 2;
}

"secs" has only an effect if (secs!=0)&&(secs<=30)

Thus, supplying a timeout greater 30 or a timeout of 0 actually does not have
any effect.


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


More information about the rsync mailing list