Commit 736d8c1a authored by Bill Hoffman's avatar Bill Hoffman
Browse files

ENH: set an upload speed limit for ctest

parent f96f7f86
......@@ -124,6 +124,11 @@ bool cmCTestSubmitHandler::SubmitUsingFTP(const cmStdString& localprefix,
}
// enable uploading
::curl_easy_setopt(curl, CURLOPT_UPLOAD, 1) ;
// if there is little to no activity for 30 seconds stop submitting
::curl_easy_setopt(curl, CURLOPT_LOW_SPEED_LIMIT, 1) ;
::curl_easy_setopt(curl, CURLOPT_LOW_SPEED_TIME, 30) ;
::curl_easy_setopt(curl, CURLOPT_UPLOAD, 1) ;
cmStdString local_file = *file;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment