Revision 34bdb91d trunk/Pithos.Network/CloudFilesClient.cs
b/trunk/Pithos.Network/CloudFilesClient.cs | ||
---|---|---|
93 | 93 |
|
94 | 94 |
protected Uri RootAddressUri { get; set; } |
95 | 95 |
|
96 |
private WebProxy _proxy; |
|
96 |
/* private WebProxy _proxy;
|
|
97 | 97 |
public WebProxy Proxy |
98 | 98 |
{ |
99 | 99 |
get { return _proxy; } |
... | ... | |
104 | 104 |
_baseClient.Proxy = value; |
105 | 105 |
} |
106 | 106 |
} |
107 |
|
|
107 |
*/ |
|
108 | 108 |
|
109 | 109 |
/* private Uri _proxy; |
110 | 110 |
public Uri Proxy |
... | ... | |
189 | 189 |
|
190 | 190 |
using (var authClient = new RestClient{BaseAddress=AuthenticationUrl}) |
191 | 191 |
{ |
192 |
if (Proxy != null) |
|
193 |
authClient.Proxy = Proxy; |
|
192 |
/* if (Proxy != null)
|
|
193 |
authClient.Proxy = Proxy;*/
|
|
194 | 194 |
|
195 | 195 |
Contract.Assume(authClient.Headers!=null); |
196 | 196 |
|
... | ... | |
210 | 210 |
BaseAddress = storageUrl, |
211 | 211 |
Timeout = 10000, |
212 | 212 |
Retries = 3, |
213 |
Proxy=Proxy |
|
213 |
//Proxy=Proxy
|
|
214 | 214 |
}; |
215 | 215 |
|
216 | 216 |
StorageUrl = new Uri(storageUrl); |
Also available in: Unified diff