| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curlpp mailing list Archives
[cURLpp] Binary POST body gets mangled after first null
From: <curlpp_at_rrette.com_at_textnode.com>
Date: Fri, 18 Nov 2005 09:16:41 +0000
My first post, so hi folks!
I'm using the Easy interface to send an HTTP POST with a binary body to a server.
Snippet of code:
The start of the POST body data looks like this in hex:
8c 80 98 31 31 39 36 38 35 33 34 2d 66 64 31 62
When the post is sent, an ethereal snoop shows that after the NULL the rest of the POST body is replaced by garbage (looks like the process heap).
I have verified that the data.c_str() is definitely correct by writing the content out to a file, char-by-char.
Has anyone come across this before? Have I misused the interface? Is it perhaps a known issue?
Many Thanks,
(P.S.
Software versions:
O.S.:
_______________________________________________
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info