cURL / Mailing Lists / curl-library / Single Mail


Re: Libcurl debug info

From: Daniel Stenberg <>
Date: Mon, 30 Aug 2010 15:45:41 +0200 (CEST)

On Mon, 30 Aug 2010, neocarlitos wrote:

> I'm migrating the examples from the C API to java. I ran into a problem
> while migrating sepheaders.c. Basically, I can manage to write data to
> body.out, OR to head.out but when I try them together, program crashes. Is
> there a way to print debugging information before curl_easy_perform is
> called, so I can see what I'm doing wrong?

The code running before curl_easy_perform() is called, is your code isn't it?
Or at least the java binding code? Then just sprinkle it with printfs or
whatever. Or use a debugger. I think I must've misunderstood the question...

List admin:
Received on 2010-08-30