Blame SOURCES/0194-v2v-Increase-the-timeout-of-VMware-curl-connections-.patch

ffd6ed
From be8fb07e4bc291529f9e069e68bb2ea1ebc5cd4e Mon Sep 17 00:00:00 2001
ffd6ed
From: "Richard W.M. Jones" <rjones@redhat.com>
ffd6ed
Date: Thu, 25 Jun 2015 20:54:06 +0100
ffd6ed
Subject: [PATCH] v2v: Increase the timeout of VMware curl connections
ffd6ed
 (RHBZ#1146007).
ffd6ed
ffd6ed
On certain webservers these appear to go beyond even 600 seconds (10
ffd6ed
minutes).
ffd6ed
ffd6ed
(cherry picked from commit 801832e6764097466c1156a9be2d829f8401c6d9)
ffd6ed
---
ffd6ed
 v2v/input_libvirt_vcenter_https.ml | 3 ++-
ffd6ed
 1 file changed, 2 insertions(+), 1 deletion(-)
ffd6ed
ffd6ed
diff --git a/v2v/input_libvirt_vcenter_https.ml b/v2v/input_libvirt_vcenter_https.ml
ffd6ed
index d0d860e..b4a656f 100644
ffd6ed
--- a/v2v/input_libvirt_vcenter_https.ml
ffd6ed
+++ b/v2v/input_libvirt_vcenter_https.ml
ffd6ed
@@ -250,7 +250,8 @@ let map_source_to_uri ?readahead verbose password uri scheme server path =
ffd6ed
     let json_params = [
ffd6ed
       "file.driver", JSON.String "https";
ffd6ed
       "file.url", JSON.String url;
ffd6ed
-      "file.timeout", JSON.Int 600;
ffd6ed
+      (* https://bugzilla.redhat.com/show_bug.cgi?id=1146007#c10 *)
ffd6ed
+      "file.timeout", JSON.Int 2000;
ffd6ed
     ] in
ffd6ed
 
ffd6ed
     let json_params =
ffd6ed
-- 
ffd6ed
1.8.3.1
ffd6ed