ref: refs/heads/master
commit ef313d82e9195a8ab7d228ec584b8a45e363f73f
Author: Michael Andres
Date: Thu Nov 5 15:09:54 2009 +0100
Log if we will pass 'user:PASS' to aria2c.
---
zypp/media/MediaAria2c.cc | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/zypp/media/MediaAria2c.cc b/zypp/media/MediaAria2c.cc
index 25e689e..66d4a3d 100644
--- a/zypp/media/MediaAria2c.cc
+++ b/zypp/media/MediaAria2c.cc
@@ -156,6 +156,7 @@ void fillAriaCmdLine( const string &ariaver,
}
else
{
+ MIL << "Passing " << url.getScheme() << " credentials '" << s.username() << ':' << (s.password().empty() ? "" : "PASSWORD")<< "'" << endl;
if ( url.getScheme() == "ftp" )
file_options.push_back(str::form("ftp-user=%s", s.username().c_str() ));
else if ( url.getScheme() == "http" ||
@@ -177,6 +178,7 @@ void fillAriaCmdLine( const string &ariaver,
args.push_back(str::form("--http-proxy=%s", s.proxy().c_str() ));
if ( ! s.proxyUsername().empty() )
{
+ MIL << "Passing " << /*url.getScheme()*/"http" << "-proxy credentials '" << s.proxyUsername() << ':' << (s.proxyPassword().empty() ? "" : "PASSWORD")<< "'" << endl;
file_options.push_back(str::form("http-proxy-user=%s", s.proxyUsername().c_str() ));
if ( ! s.proxyPassword().empty() )
file_options.push_back(str::form("http-proxy-passwd=%s", s.proxyPassword().c_str() ));
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org