mirror of
https://github.com/curl/curl.git
synced 2026-08-24 23:33:33 +03:00
setopt: check CURLOPT_TFTP_BLKSIZE range on set
... instead of later when the transfer is about to happen. Closes #12374
This commit is contained in:
parent
84338c4de2
commit
49c413cce2
3 changed files with 7 additions and 7 deletions
|
|
@ -25,6 +25,9 @@
|
|||
***************************************************************************/
|
||||
#ifndef CURL_DISABLE_TFTP
|
||||
extern const struct Curl_handler Curl_handler_tftp;
|
||||
|
||||
#define TFTP_BLKSIZE_MIN 8
|
||||
#define TFTP_BLKSIZE_MAX 65464
|
||||
#endif
|
||||
|
||||
#endif /* HEADER_CURL_TFTP_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue