Skip to content

ACAP curl compile issue #409

Closed Answered by vivekatoffice
ghost asked this question in ACAP
Discussion options

You must be logged in to vote

Hi @qolson5 ,
I tested the latest example of openssl_curl_example with the following data and without any compilation errors:

RUN APP_PROXY_SETTING= ; \
    [ -z "$APP_PROXY" ] || APP_PROXY_SETTING="-proxy $APP_PROXY" ; \
    echo quit | openssl s_client \
    -showcerts \
    -servername www.githubusercontent.com \
    -connect www.githubusercontent.com:443 \
    $APP_PROXY_SETTING \
    > ${PEM_CERT_FILE}
curl = curl_easy_init();

    if (curl) {
        syslog(LOG_INFO, "curl easy init successful - handle has been created");

        // Set web page to connect to
        curl_easy_setopt(curl, CURLOPT_URL, "https://raw.githubusercontent.com/AxisCommunications/acap-native-sdk-examples/m…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by vivekatoffice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
ACAP
Labels
None yet
1 participant