summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rhimport/fetcher.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/rhimport/fetcher.go b/rhimport/fetcher.go
index b78ea02..45d2e7b 100644
--- a/rhimport/fetcher.go
+++ b/rhimport/fetcher.go
@@ -286,6 +286,8 @@ func fetchFileArchiv(ctx *Context, res *Result, uri *url.URL) (err error) {
easy.Setopt(curl.OPT_PROGRESSFUNCTION, curlProgressCallback)
easy.Setopt(curl.OPT_PROGRESSDATA, cbdata)
+ easy.Setopt(curl.OPT_BUFFERSIZE, 1024*1024)
+
rhdl.Printf("importing archiv file from %s", scpuri)
err = easy.Perform()
var convOut string