Update issue #671
Status: Fixed Now setting PreAuthenticate to "true" for all requests, that should speed things up a bit. git-svn-id: https://duplicati.googlecode.com/svn/trunk@1377 59da171f-624f-0410-aa54-27559c288bec
This commit is contained in:
@@ -319,7 +319,9 @@ namespace Duplicati.Library.Backend
|
||||
{
|
||||
System.Net.HttpWebRequest req = (System.Net.HttpWebRequest)System.Net.HttpWebRequest.Create(m_url + System.Web.HttpUtility.UrlEncode(remotename).Replace("+", "%20"));
|
||||
if (m_useIntegratedAuthentication)
|
||||
{
|
||||
req.UseDefaultCredentials = true;
|
||||
}
|
||||
else if (m_forceDigestAuthentication)
|
||||
{
|
||||
System.Net.CredentialCache cred = new System.Net.CredentialCache();
|
||||
@@ -329,8 +331,9 @@ namespace Duplicati.Library.Backend
|
||||
else
|
||||
{
|
||||
req.Credentials = m_userInfo;
|
||||
if (Library.Utility.Utility.IsClientLinux)
|
||||
req.PreAuthenticate = true; //We need this under Mono for some reason
|
||||
//We need this under Mono for some reason,
|
||||
// and it appears some servers require this as well
|
||||
req.PreAuthenticate = true;
|
||||
}
|
||||
|
||||
req.KeepAlive = false;
|
||||
|
||||
Reference in New Issue
Block a user