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

           Summary: sockopts attempts to set options after the socket is
                    open
           Product: rsync
           Version: 2.6.9
          Platform: x86
               URL: http://people.freebsd.org/~gordon/rsync-socket.diff
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]


rsync 2.6.9 (and from the looks of it 3.0.0) attempts to set socket options
(either via --sockopts or the rsyncd.conf socket options conf statement) after
the socket was listen()ed or connect()ed.

Specifically, I was trying to use SO_RCVBUF and SO_SNDBUF to increase my window
size and didn't get anywhere. strace confirmed that the setsockopt call
occurred after the socket was connected.

See the patch at the URL which moves the setsockopt calls into socket.c after
the sockets are created but before they are connect()ed or listen()ed


-- 
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.
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to