aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Net/HttpRequestOptions.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-10-22 00:42:26 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-10-22 00:42:26 -0400
commit9f3891d418729b9cc1dbdf4e48013f5a0a57639a (patch)
tree265aeca4176a24e5ad58d9acf5ba3b0d5f4b5f54 /MediaBrowser.Common/Net/HttpRequestOptions.cs
parent1e7ac871db62d749725226fe05d61ab2629e79e9 (diff)
render movies as folders with dlna
Diffstat (limited to 'MediaBrowser.Common/Net/HttpRequestOptions.cs')
-rw-r--r--MediaBrowser.Common/Net/HttpRequestOptions.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/MediaBrowser.Common/Net/HttpRequestOptions.cs b/MediaBrowser.Common/Net/HttpRequestOptions.cs
index 09bf6e232..81f1d70d3 100644
--- a/MediaBrowser.Common/Net/HttpRequestOptions.cs
+++ b/MediaBrowser.Common/Net/HttpRequestOptions.cs
@@ -94,6 +94,8 @@ namespace MediaBrowser.Common.Net
public CacheMode CacheMode { get; set; }
public TimeSpan CacheLength { get; set; }
+ public int TimeoutMs { get; set; }
+
private string GetHeaderValue(string name)
{
string value;
@@ -115,6 +117,8 @@ namespace MediaBrowser.Common.Net
LogRequest = true;
CacheMode = CacheMode.None;
+
+ TimeoutMs = 20000;
}
public void SetPostData(IDictionary<string,string> values)