- 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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user