Skip to content

Commit

Permalink
Fix redirect support in native emulator
Browse files Browse the repository at this point in the history
Closes #23
  • Loading branch information
joeyparrish committed Oct 16, 2024
1 parent 37a6760 commit 794d59c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions emulator-patches/fetch.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ static void fetch_with_curl_in_thread(void* thread_ctx) {
curl_easy_setopt(handle, CURLOPT_URL, ctx->url);
curl_easy_setopt(handle, CURLOPT_WRITEFUNCTION, ctx->write_callback);
curl_easy_setopt(handle, CURLOPT_WRITEDATA, ctx->user_ctx);
curl_easy_setopt(handle, CURLOPT_FOLLOWLOCATION, 1);
if (ctx->range) {
curl_easy_setopt(handle, CURLOPT_RANGE, ctx->range);
}
Expand Down

0 comments on commit 794d59c

Please sign in to comment.