public void AddTimedOutUrl(string url) { if (!TimedOutHosts.Contains(url)) { TimedOutHosts.Add(UrlHelper.GetHostName(url)); } }
public bool IsTimedOutUrl(string url) { return(TimedOutHosts.Contains(UrlHelper.GetHostName(url)) && RemoveHostIfTimeout); }