{"action":"created","issue":{"url":"https://api.github.com/repos/paulcbetts/Fusillade/issues/5","labels_url":"https://api.github.com/repos/paulcbetts/Fusillade/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/paulcbetts/Fusillade/issues/5/comments","events_url":"https://api.github.com/repos/paulcbetts/Fusillade/issues/5/events","html_url":"https://github.com/paulcbetts/Fusillade/issues/5","id":55506943,"number":5,"title":"Image request in Fusillade","user":{"login":"sen3","id":5479906,"avatar_url":"https://avatars.githubusercontent.com/u/5479906?v=3","gravatar_id":"","url":"https://api.github.com/users/sen3","html_url":"https://github.com/sen3","followers_url":"https://api.github.com/users/sen3/followers","following_url":"https://api.github.com/users/sen3/following{/other_user}","gists_url":"https://api.github.com/users/sen3/gists{/gist_id}","starred_url":"https://api.github.com/users/sen3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sen3/subscriptions","organizations_url":"https://api.github.com/users/sen3/orgs","repos_url":"https://api.github.com/users/sen3/repos","events_url":"https://api.github.com/users/sen3/events{/privacy}","received_events_url":"https://api.github.com/users/sen3/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-26T16:54:15Z","updated_at":"2015-02-02T01:45:44Z","closed_at":"2015-02-02T01:45:44Z","body":"I am trying to the \"Auto-deduplication of requests\" feature on Fusillade. I try to fetch a same image 10 times. And it is sending 10 requests to the server. The url is same for all requests. Am I doing something wrong? \r\n\r\nHere is the sample test code:\r\n\r\n```cs\r\n Uri u =  new Uri(\"http://www.brandeis.edu/about/images/newformat/map2.jpg\");\r\n for (int i = 0; i < 10; i++)\r\n  {\r\n                HttpClient hc = new HttpClient(NetCache.UserInitiated);\r\n                var s = await hc.GetAsync(u);\r\n\r\n                var st = await s.Content.ReadAsStreamAsync();\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/paulcbetts/Fusillade/issues/comments/72396879","html_url":"https://github.com/paulcbetts/Fusillade/issues/5#issuecomment-72396879","issue_url":"https://api.github.com/repos/paulcbetts/Fusillade/issues/5","id":72396879,"user":{"login":"paulcbetts","id":1396,"avatar_url":"https://avatars.githubusercontent.com/u/1396?v=3","gravatar_id":"","url":"https://api.github.com/users/paulcbetts","html_url":"https://github.com/paulcbetts","followers_url":"https://api.github.com/users/paulcbetts/followers","following_url":"https://api.github.com/users/paulcbetts/following{/other_user}","gists_url":"https://api.github.com/users/paulcbetts/gists{/gist_id}","starred_url":"https://api.github.com/users/paulcbetts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulcbetts/subscriptions","organizations_url":"https://api.github.com/users/paulcbetts/orgs","repos_url":"https://api.github.com/users/paulcbetts/repos","events_url":"https://api.github.com/users/paulcbetts/events{/privacy}","received_events_url":"https://api.github.com/users/paulcbetts/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T01:45:44Z","updated_at":"2015-02-02T01:45:44Z","body":"Because you're using `await`, you're guaranteeing that there is only one request in-flight at a time. Try collecting all of the returned Tasks without await then using `Task.WaitAll`"}}