From: Daniel Stenberg Date: Tue, 14 Jan 2014 06:42:52 +0000 (+0100) Subject: TODO: Detect when called from witin callbacks X-Git-Tag: curl-7_35_0~62 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=89dbb6a0da5de1c819b15e2188a88e0723a25c1f;p=curl TODO: Detect when called from witin callbacks --- diff --git a/docs/TODO b/docs/TODO index bec3abca4..22fd5a44d 100644 --- a/docs/TODO +++ b/docs/TODO @@ -17,6 +17,7 @@ 1.4 signal-based resolver timeouts 1.5 get rid of PATH_MAX 1.6 Modified buffer size approach + 1.7 Detect when called from witin callbacks 2. libcurl - multi interface 2.1 More non-blocking @@ -175,6 +176,12 @@ Dynamically allocate buffer size depending on protocol in use in combination with freeing it after each individual transfer? Other suggestions? +1.7 Detect when called from witin callbacks + + We should set a state variable before calling callbacks, so that we + subsequently can add code within libcurl that returns error if called within + callbacks for when that's not supported. + 2. libcurl - multi interface