curl-library
Re: Sending a SSL message
Date: Tue, 16 Jan 2007 09:19:14 +0100
> On Mon, 15 Jan 2007, Curti Roberto wrote:
>
> > I have a problem sending a message in SSL (Openssl 0.9.7d).
>
> [...]
>
> > I’m able to send my message but the system receiving it is not able to read.
> >
> > What’s wrong with this code? Any suggestion?
>
> That code doesn't send anything except a GET request. Are you saying that the
> server doesn't get that request or that you want to send other data?
>
Hi,
the server get the request but is not able to read my message, sending back these bytes ^U^C^A.
This the snippet of my code sending the message (Soap Message)
if (curl_easy_setopt(curl_handle, CURLOPT_POSTFIELDS,soapBuff)){
printf("Error Setting option %d ", CURLOPT_POSTFIELDS);
}
if (curl_easy_setopt(curl_handle, CURLOPT_POSTFIELDSIZE, lenghtSoap)){
printf("Error Setting option %d ", CURLOPT_POSTFIELDSIZE);
}
if (curl_easy_setopt(curl_handle, CURLOPT_HTTPHEADER, headers)){
printf("Error Setting option %d ", CURLOPT_HTTPHEADER);
}
soapBuff variable contains my message.
Thanks
Roberto
> --
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
------------------------------------------------------
Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
http://click.libero.it/infostrada16gen07
Received on 2007-01-16