> Hurrey
>  I have the solution!
> :clap::-D
>
> If  SSL_get_error  give  SSL_ERROR_NONE
> I test  with  strcmp ( at the end, "</soap:Envelope>") .
> because all data from the server must end with "</soap:Envelope>".
> If my data is not complete I send CR LF and the last 975 Bytes appeared
> SSL_write(mySSL->ssl,"\r\n", 2);

So what happens if the server uses chunked encoding and the '/soap' and the
':Envelope' wind up in different chunks? This is not a solution. It's a
"happens to work when I tried it".

Your code still has a fundamental and serious error. It tells the server
that it is compliant with HTTP 1.1 when it is not.

DS


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to