summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--urpm/download.pm1
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 0c6fecac..9f2cf62e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- urpmi:
+ o fix using proxy with curl (#38143)
+
Version 5.6 - 26 February 2008, by Pascal "Pixel" Rigaux
- urpmq:
diff --git a/urpm/download.pm b/urpm/download.pm
index 29a0275e..058b2abd 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -179,6 +179,7 @@ sub set_proxy {
push @res, ('-x', $_->{ftp_proxy}) if defined $_->{ftp_proxy};
push @res, ('-U', "$_->{user}:$_->{pwd}")
if defined $_->{user} && defined $_->{pwd};
+ push @res, '-H', 'Pragma:' if @res;
}
last;
};