Menu

#921 Wrong value for timeout interval option

closed-fixed
TFTP (14)
5
2010-05-18
2010-05-17
No

cUrl sends "interval" when specifying the "timeout" option

http://tools.ietf.org/html/rfc2349

This may be an intentional departure from RFC 2349 for compatibility with software that I am unaware of.

lib/tftp.c, line 84 of version 7.20.1
- #define TFTP_OPTION_INTERVAL "interval"
+ #define TFTP_OPTION_INTERVAL "timeout"

RFC excerpt:
timeout
The Timeout Interval option, "timeout" (case in-sensitive).
This is a NULL-terminated field.

Discussion

  • Daniel Stenberg

    Daniel Stenberg - 2010-05-18

    Thanks for the report, this problem is now fixed in the git repository.

    To try it out, you either checkout/update your git clone: http://curl.haxx.se/source.html

    or you try tomorrow's daily snapshot: http://curl.haxx.se/snapshots/

     
  • Daniel Stenberg

    Daniel Stenberg - 2010-05-18
    • status: open --> closed-fixed