[Webkit-unassigned] [Bug 27165] Connections-per-host should be tracked closer to the ResourceHandle level, not the Cache

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 19 22:19:44 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=27165





--- Comment #8 from Adam Barth <abarth at webkit.org>  2010-09-19 22:19:44 PST ---
(From update of attachment 67919)
View in context: https://bugs.webkit.org/attachment.cgi?id=67919&action=review

>> WebCore/loader/OpenConnectionLimiter.cpp:70
>> +    int requestCount = requestsPerHostMap().isEmpty() ? 1 : requestsPerHostMap().get(host) + 1;
> 
> I don't quite understand this line.  Why do we need to branch on requestsPerHostMap().isEmpty() ?  Do you mean to ask if the requestsPerHostMap map has an entry for |host| ?

test

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list