Skip to content

Commit 60dd34d

Browse files
committed
Fix call to upload metrics
1 parent e8f878d commit 60dd34d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/vcpkg/metrics.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,6 @@ namespace vcpkg
530530
builder.string_arg(temp_folder_path_exe);
531531
builder.string_arg("z-upload-metrics");
532532
builder.string_arg(vcpkg_metrics_txt_path);
533-
builder.string_arg("--delete-file-after-upload");
534533
cmd_execute_background(builder);
535534
}
536535

@@ -587,7 +586,7 @@ namespace vcpkg
587586
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, request_headers.get());
588587
curl_easy_setopt(curl, CURLOPT_TIMEOUT, 60L);
589588
curl_easy_setopt(curl, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1_2);
590-
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); // CURLFOLLOW_ALL
589+
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); // follow redirects
591590
curl_easy_setopt(curl, CURLOPT_USERAGENT, vcpkg_curl_user_agent);
592591

593592
std::string buff;

0 commit comments

Comments
 (0)