Make CURLE_PARTIAL_FILE an auto-retry error (bnc #471436)
authorJán Kupec <jkupec@suse.cz>
Mon, 22 Feb 2010 14:24:26 +0000 (15:24 +0100)
committerJán Kupec <jkupec@suse.cz>
Mon, 22 Feb 2010 14:25:22 +0000 (15:25 +0100)
zypp/media/MediaCurl.cc

index be10129..5ae492d 100644 (file)
@@ -900,6 +900,7 @@ void MediaCurl::evaluateCurlCode( const Pathname &filename,
       case CURLE_WRITE_ERROR:
         err = "Write error";
         break;
+      case CURLE_PARTIAL_FILE:
       case CURLE_ABORTED_BY_CALLBACK:
       case CURLE_OPERATION_TIMEDOUT:
         if( timeout_reached)