Skip to content

Conversation

@TheAssassin
Copy link
Member

This commit introduces the use of C++ to wrap all calls to libcurl and provide a simplified API. This API makes downloading the runtime much easier internally.

In the process of moving to a C++ wrapper class, the old "have libcurl write into an in-memory buffer directly" approach was replaced with a "use a WRITEDATA callback and handle this ourselves" one, allowing us to make just a single GET request to the server.

This commit introduces the use of C++ to wrap all calls to libcurl and
provide a simplified API. This API makes downloading the runtime much
easier internally.

In the process of moving to a C++ wrapper class, the old "have libcurl
write into an in-memory buffer directly" approach was replaced with a
"use a WRITEDATA callback and handle this ourselves" one, allowing us to
make just a single GET request to the server.
@TheAssassin TheAssassin requested a review from probonopd July 8, 2023 22:14
@TheAssassin TheAssassin merged commit f8b9caf into main Jul 9, 2023
@TheAssassin TheAssassin deleted the runtime-single-request branch July 9, 2023 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants