c++ with libcurl issue
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: c++ with libcurl issue

  1. #1
    Join Date
    May 2009
    Posts
    11

    c++ with libcurl issue

    Hi,

    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..

  2. #2
    Join Date
    Mar 2010
    Location
    Melbourne Australia
    Posts
    454

    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.

    http://curl.haxx.se/libcurl/php/install.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center