aboutsummaryrefslogtreecommitdiff
path: root/src/tool_cfgable.h
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2015-08-24 00:15:01 -0400
committerJay Satiro <raysatiro@yahoo.com>2016-02-23 03:01:07 -0500
commit186546f1c5ffa62526bd57deb5b9fd6e68da2a5e (patch)
tree064b4a45b134258416407201b82e53bd621c1f55 /src/tool_cfgable.h
parent9dc3eaee2901875d87690de62b427fa7cf96fead (diff)
TFTP: add option to suppress TFTP option requests (Part 2)
- Add tests. - Add an example to CURLOPT_TFTP_NO_OPTIONS.3. - Add --tftp-no-options to expose CURLOPT_TFTP_NO_OPTIONS. Bug: https://github.com/curl/curl/issues/481
Diffstat (limited to 'src/tool_cfgable.h')
-rw-r--r--src/tool_cfgable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tool_cfgable.h b/src/tool_cfgable.h
index 3632560af..fb6c7aec4 100644
--- a/src/tool_cfgable.h
+++ b/src/tool_cfgable.h
@@ -183,6 +183,7 @@ struct OperationConfig {
char *ftp_alternative_to_user; /* send command if USER/PASS fails */
int ftp_filemethod;
long tftp_blksize; /* TFTP BLKSIZE option */
+ bool tftp_no_options; /* do not send TFTP options requests */
bool ignorecl; /* --ignore-content-length */
bool disable_sessionid;