Details
-
Task
-
Status: In Review (View Workflow)
-
Minor
-
Resolution: Unresolved
-
None
Description
Current status and problem description
Starting from 10.2.37 Connect SE uses curl, introduced by Olivier Bertrand, commit 8c617e99015c.
Connect SE is also able to run using cpprestsdk.
Neither these options are preferable because:
- cpprestsdk that has to be built by the user as a separate library.
- curl shouldn't have to be exec'ed. There is a dedicated libcurl library that we can link to.
We should make use of libcurl, just like the S3 Storage Engine does, via libmarias3.
Task:
- Remove cpprest, curl exec calls and optimize code to use libcurl only.
- Remove the use of exec(curl) binary and use the library call directly.
- Mark new package dependency of libcurl in RPM/DEB files.
- Identify how Windows binaries are impacted
- Ensure connect.rest test case passes.
After task is implemented, update documentation pages:
[1] https://mariadb.com/kb/en/connect-files-retrieved-using-rest-queries/
[2] https://mariadb.com/kb/en/connect-making-the-getrest-library/ [deprecate]
Attachments
Issue Links
- is blocked by
-
MDBF-644 install libcurl on amd64-builder
- Closed
-
MDEV-33420 HASHICORP_KEY_MANAGEMENT fails on Windows with libcurl installed
- Closed
- relates to
-
MDEV-26727 REST API from CONNECT SE doesn't work on Docker
- In Review
-
MDEV-33474 Windows packaging - install runtime dependencies of the server and plugins
- In Progress
-
MDEV-24357 Connect REST API is not working for ubuntu when installed from package and WITH_SSL=bundled
- Closed