From 9f3891d418729b9cc1dbdf4e48013f5a0a57639a Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 22 Oct 2014 00:42:26 -0400 Subject: render movies as folders with dlna --- MediaBrowser.Common/Net/HttpRequestOptions.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'MediaBrowser.Common/Net/HttpRequestOptions.cs') 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 values) -- cgit v1.2.3