Skip to content

HttpHelper wrongly passes url as std::string #106

@Epse

Description

@Epse

In HttpHelper, URLs are passed to libcurl as std::string, where they should be char pointers, thus breaking things like CPDLC, due to libcurl errors.
The std::string.c_str() method is exactly what's needed here.

See:

curl_easy_setopt(curl, CURLOPT_URL, url);

If some more time can be given, I can prepare a patch to fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions