diff options
author | Daniel Stenberg <daniel@haxx.se> | 2009-01-26 22:43:06 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2009-01-26 22:43:06 +0000 |
commit | 0516ce7786e9500c2e447d48aa9b3f24a6ca70f9 (patch) | |
tree | dfa3ecea7658d50e0cb11b77074a5ad21699a854 /lib/url.c | |
parent | bb86462ed77ac82667c91c93705210b67d739e6e (diff) |
- Chad Monroe provided the new CURLOPT_TFTP_BLKSIZE option that allows an app
to set desired block size to use for TFTP transfers instead of the default
512 bytes.
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -932,6 +932,12 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, */ data->set.ftp_response_timeout = va_arg( param , long ) * 1000; break; + case CURLOPT_TFTP_BLKSIZE: + /* + * TFTP option that specifies the block size to use for data transmission + */ + data->set.tftp_blksize = va_arg(param, long); + break; case CURLOPT_DIRLISTONLY: /* * An option that changes the command to one that asks for a list |