mirror of
https://github.com/curl/curl.git
synced 2026-08-24 15:23:36 +03:00
TFTP: add option to suppress TFTP option requests (Part 1)
Some TFTP server implementations ignore the "TFTP Option extension" (RFC 1782-1784, 2347-2349), or implement it in a flawed way, causing problems with libcurl. Another switch for curl_easy_setopt "CURLOPT_TFTP_NO_OPTIONS" is introduced which prevents libcurl from sending TFTP option requests to a server, avoiding many problems caused by faulty implementations. Bug: https://github.com/curl/curl/issues/481
This commit is contained in:
parent
527e86b054
commit
9dc3eaee29
8 changed files with 90 additions and 27 deletions
|
|
@ -1242,6 +1242,8 @@
|
|||
d c 10240
|
||||
d CURLOPT_STREAM_DEPENDS_E...
|
||||
d c 10241
|
||||
d CURLOPT_TFTP_NO_OPTIONS...
|
||||
d c 10242
|
||||
*
|
||||
/if not defined(CURL_NO_OLDIES)
|
||||
d CURLOPT_FILE c 10001
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue