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