I think CURLINFO_REDIRECT_COUNT should be useful.

On Wed, Mar 9, 2011 at 6:22 PM, Pankaj Takawale
<[email protected]>wrote:

> I've setup CURLOPT_FOLLOWLOCATION curl option.
> Is there any way to know whether curl_easy_perform has followed new
> location due to http return code 302.
>
> If not, could you please point me to source code file/function where I can
> employ one callback routine to notify caller about such scenario.
>



-- 
Pankaj Takawale
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to