cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem posting binary "complex" structure.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 7 Aug 2008 09:25:35 +0200 (CEST)

On Wed, 6 Aug 2008, Daniel C wrote:

> This works perfect, except with the "complex" struct, that I can not show;
> it uses serveral macros and templates for its definition, but works correct
> if not using curl sending it.
>
> This code anyway is not the problem cause works ok with other structs.

Then I suggest that perhaps the problem is rather elsewhere in your code or in
the receiving end?

If you use the DEBUGFUNCTION option you can get a trace for exactly what
libcurl sends and then you can verify that it sends exactly what you ask it
to.

See the debug.c example.

-- 
  / daniel.haxx.se
Received on 2008-08-07