From: Daniel Stenberg Date: Sat, 15 Oct 2011 23:06:48 +0000 (+0200) Subject: TODO: have form functions use CURL handle argument X-Git-Tag: upstream/7.37.1~3585 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ff03ee2a3c958065ad5fec657963deefb9b37ac0;p=platform%2Fupstream%2Fcurl.git TODO: have form functions use CURL handle argument --- diff --git a/docs/TODO b/docs/TODO index 8500011..738f3e2 100644 --- a/docs/TODO +++ b/docs/TODO @@ -99,6 +99,7 @@ 15.6 remove CURLOPT_DNS_USE_GLOBAL_CACHE 15.7 remove progress meter from libcurl 15.8 remove 'curl_httppost' from public + 15.9 have form functions use CURL handle argument ============================================================================== @@ -559,3 +560,11 @@ to provide the data to send. Changing them to return a private handle will benefit the implementation and allow us much greater freedoms while still maintining a solid API and ABI. + +15.9 have form functions use CURL handle argument + + curl_formadd() and curl_formget() both currently have no CURL handle + argument, but both can use a callback that is set in the easy handle, and + thus curl_formget() with callback cannot function without first having + curl_easy_perform() (or similar) called - which is hard to grasp and a design + mistake.