[Cmake-commits] [cmake-commits] hoffman committed cmCTestSubmitHandler.cxx 1.45 1.46
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Jun 25 16:38:50 EDT 2009
Update of /cvsroot/CMake/CMake/Source/CTest
In directory public:/mounts/ram/cvs-serv25389
Modified Files:
cmCTestSubmitHandler.cxx
Log Message:
ENH: set an upload speed limit for ctest
Index: cmCTestSubmitHandler.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestSubmitHandler.cxx,v
retrieving revision 1.45
retrieving revision 1.46
diff -C 2 -d -r1.45 -r1.46
*** cmCTestSubmitHandler.cxx 11 Jun 2009 15:24:56 -0000 1.45
--- cmCTestSubmitHandler.cxx 25 Jun 2009 20:38:47 -0000 1.46
***************
*** 126,129 ****
--- 126,134 ----
// 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;
More information about the Cmake-commits
mailing list