mirror of
https://github.com/curl/curl.git
synced 2026-08-05 14:26:15 +03:00
TFTP: send timeout option correctly
Eric Mertens posted bug report #3003005 pointing out that the libcurl TFTP code was not sending the timeout option properly to the server, and suggested a fix. (http://curl.haxx.se/bug/view.cgi?id=3003005)
This commit is contained in:
parent
dcc061543a
commit
aabd27d9aa
3 changed files with 13 additions and 3 deletions
|
|
@ -87,8 +87,10 @@
|
|||
#define TFTP_BLKSIZE_MIN 8
|
||||
#define TFTP_BLKSIZE_MAX 65464
|
||||
#define TFTP_OPTION_BLKSIZE "blksize"
|
||||
#define TFTP_OPTION_TSIZE "tsize"
|
||||
#define TFTP_OPTION_INTERVAL "interval"
|
||||
|
||||
/* from RFC2349: */
|
||||
#define TFTP_OPTION_TSIZE "tsize"
|
||||
#define TFTP_OPTION_INTERVAL "timeout"
|
||||
|
||||
typedef enum {
|
||||
TFTP_MODE_NETASCII=0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue