November 26th, 2011, 03:27 AM
c++ with libcurl issue
I am running embedded mongoose (2.8) webserver in server side (Linux centos). In the client I am using c++ with libcurl to post request to webserver.
It works successfully all the time. But now, I am facing ssl connectivity issue in client side. Without ssl, it works fine. If I restart the server, then even with ssl, it works for some amount of time. But after some time the same connection error occur.
libcurl error: CURLE_SSL_CONNECT_ERROR (35)
Actual Error: error:140943FC:SSL routines:SSL3_READ_BYTES:sslv3 alert bad record mac.
Please any one let us what could be the issue and how to fix it..
Thanks in advance..
November 30th, 2011, 07:35 AM
Re: c++ with libcurl issue
if it is all the same to you, you can use Apache web server with SSL and libcurl , it is a much more elegant and proven alternative to the current system using right now.I have included a link on how to go about doing this.
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!