Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1, 3.2
    • Fix Version/s: 3.6
    • Component/s: TFTP
    • Labels:
      None
    • Environment:

      Description

      TFTPClient.java sendFile() method does not retry after initial timeout.

      Between revisons 1088720 & 1229692 the 'continue' statements were changed to 'continue _sendPacket'. After the initial timeout of bufferedReceive() these cause the control to flow to the outer loop and never retry. If the control did flow accordingly, the retry would loop indefinitely since the timeouts variable is reset to zero each time as well.

      I am using a workaround by calling bufferedSend(sent) just before continue, in place of the 'continue _sendPacket' statement.

      It looks as if similar logic was applied to the receiveFile() method as well.

      Revision:1229692
      Time:01/10/2012 01:14 PM
      Author:sebb
      Path:http://svn.apache.org/repos/asf/commons/proper/net/trunk/src/main/java/org/apache/commons/net/tftp/TFTPClient.java
      Message:NET-410 Apache Commons TFTP does not handle RFC 783 retransmits

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jkwalnut John Walton
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: