gecko-dev/netwerk
Kershaw Chang 766fce11a1 Bug 1357676 - Implement batch eviction r=jdm
1. Add network.cookie.QuotaPerHost, which has the default value 150.
2. When the cookies exceed more than 180, evict cookies to 150.
3. The concept of eviction is to sort all cookies by whether the cookie is expired and the cookie's last access time. Then, evict cookies by the given count.
4. Details of evict algorithm:
   4.1 Create a priority queue and push all cookies in it.
   4.2 Use custom comparator to compare the cookie by expiry and last access.
   4.3 Pop 30(180 - 150) cookies from the queue and append them to an output array.

Differential Revision: https://phabricator.services.mozilla.com/D3342

--HG--
extra : moz-landing-system : lando
2018-09-03 14:49:58 +00:00
..
base Merge inbound to mozilla-central. a=merge 2018-09-01 01:40:48 +03:00
build Bug 1485494 - Remove the XPCOM registration for RedirectChannelRegistrar; r=mayhemer 2018-08-24 13:04:10 -04:00
cache Bug 1486690 - Rename NS_str{,}dup and remove unnecessary checks after calls to them. r=glandium 2018-08-28 15:58:54 +10:00
cache2 Bug 1486690 - Rename NS_str{,}dup and remove unnecessary checks after calls to them. r=glandium 2018-08-28 15:58:54 +10:00
cookie Bug 1357676 - Implement batch eviction r=jdm 2018-09-03 14:49:58 +00:00
dns Bug 1486228 - Grab mutex when accessing nsDNSService::mLocalDomains r=mayhemer! 2018-08-28 22:37:12 +00:00
ipc Bug 1485492 - Disable fastblocking when the user has interacted with a document, r=ehsan 2018-08-31 13:21:17 +02:00
locales Bug 1483445 - Change string from tracking protection to content blocking r=dragana! 2018-08-20 08:43:08 +00:00
mime Bug 1486690 - Rename nsMemory::Clone() and remove unnecessary checks after it. r=glandium 2018-08-28 15:59:19 +10:00
protocol Bug 1485400 - Remove ')' from merge conflict. a=bustage-fix 2018-09-01 01:56:12 +03:00
sctp Bug 1458048 - Cherry pick usersctp rev 8789a6da02e2c7c03522bc6f275b302f6ef977fe; r=drno 2018-06-20 21:18:50 -04:00
socket Bug 1475647 - Remove nsISSLStatusProvider interface. r=baku,Gijs,jchen,jryans,keeler,mcmanus 2018-07-13 11:48:55 -07:00
srtp Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium 2017-12-07 22:09:15 +01:00
streamconv Bug 1486690 - Rename NS_str{,}dup and remove unnecessary checks after calls to them. r=glandium 2018-08-28 15:58:54 +10:00
system Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
test Bug 1357676 - Modify failed tests r=jdm 2018-08-30 15:41:37 +00:00
wifi Bug 1090497 - Re-enable warnings as errors on clang-cl. r=froydnj 2018-07-31 22:10:07 +09:00
moz.build
necko-config.h.in