mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
Merge topic 'ctest-submit-httpauth'
5029d58c38 ctest: allow cdash submissions using alternate authentication methods
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2288
This commit is contained in:
@@ -454,6 +454,10 @@ bool cmCTestSubmitHandler::SubmitUsingHTTP(const std::string& localprefix,
|
||||
// specify target
|
||||
::curl_easy_setopt(curl, CURLOPT_URL, upload_as.c_str());
|
||||
|
||||
// CURLAUTH_BASIC is default, and here we allow additional methods,
|
||||
// including more secure ones
|
||||
::curl_easy_setopt(curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
|
||||
|
||||
// now specify which file to upload
|
||||
::curl_easy_setopt(curl, CURLOPT_INFILE, ftpfile);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user