[Bug 2654] New: timeout is always triggered with 2.6.4

samba-bugs at samba.org samba-bugs at samba.org
Tue Apr 26 22:07:36 GMT 2005


           Summary: timeout is always triggered with 2.6.4
           Product: rsync
           Version: 2.6.4
          Platform: All
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: f+samba at congenio.de
         QAContact: rsync-qa at samba.org

When transferring between an rsync 2.6.4 client and daemon giving the
"--timeout" option, the timeout is triggered despite the fact that data is still
being transferred. This error did not occur with 2.6.3.

I assume this has to do with the check_timeout() routine:

        if (!io_timeout || ignore_timeout)

        if (!last_io) {
                last_io = time(NULL);

The new variable (as of 2.6.4) ignore_timeout is changed in generator.c in two
places. I think that this has the ill side-effect that last_io is not modified
any more, so that when ignore_timeout is being reset, the timeout is triggered.

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