cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: second multi_runsingle fails - how to debug ?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 9 Aug 2011 15:06:36 +0200 (CEST)

On Tue, 9 Aug 2011, Vishakha Vaidya wrote:

> I have an mfc application and I'm doing a multiple file upload to a server
> and have one easy handle per file. I add a new easy handle, in the select
> loop and call curl_multi_perform. This handle fails with
> CURLE_REMOTE_ACCESS_DENIED in CURLM_STATE_DOING. How do I debug this ?
>
> When I write a sample app with console, and verbose 1, the same code
> succeeds.

1. Enable CURLOPT_VERBOSE to see more specifically what happens.

2. Possibly, use wireshark so something similar to see what happens on the
    wire

3. Rebuild libcurl with DEBUG enabled (as it outputs even more data about what
    it is doing on stderr while running).

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-08-09