summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMichael Koenig <michael.koenig@lancom.de>2015-08-17 17:54:47 +0200
committerJay Satiro <raysatiro@yahoo.com>2016-02-23 03:00:58 -0500
commit9dc3eaee2901875d87690de62b427fa7cf96fead (patch)
treef03514557182af69b01efe10732f168a295678fa /packages
parent527e86b0548938fa70d98117d94f84050ade09c7 (diff)
downloadcurl-9dc3eaee2901875d87690de62b427fa7cf96fead.tar.gz
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
Diffstat (limited to 'packages')
-rw-r--r--packages/OS400/curl.inc.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/OS400/curl.inc.in b/packages/OS400/curl.inc.in
index cbb4be703..da3df4ad2 100644
--- a/packages/OS400/curl.inc.in
+++ b/packages/OS400/curl.inc.in
@@ -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