gecko-dev/netwerk
Josh Matthews 64a98fc3b7 Bug 1264192 - Adjust cookie eviction heuristics when exceeding the maximum cookies allowed per host. r=ehsan
If no expired cookies exist, in order of preference, evict the oldest:
* session cookie with a non-matching path
* session cookie with a matching path
* non-session cookie with a non-matching path
* non-session cookie with a matching path

This replaces the previous heuristic of evicting the oldest cookie, irregardless of any other attributes,
if no expired cookies were present. This ensures that cookies that are already considered transient by
web applications will be removed first, followed by cookies that are unrelated to the response that is
adding new cookies.

--HG--
extra : amend_source : f79ba9dd393a3f37760e643b10b7137e37a6397a
2016-08-26 18:04:47 -04:00
..
base Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm. 2016-09-01 15:01:16 +10:00
build Bug 1244227 - Add nsIThrottledInputChannel.idl and implement. r=mcmanus 2016-08-23 07:36:52 -06:00
cache Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm. 2016-08-24 15:23:45 +10:00
cache2 Bug 1292623 - Only write HTTP cache entries' metadata after shutdown. r=michal 2016-08-26 05:05:00 -04:00
cookie Bug 1264192 - Adjust cookie eviction heuristics when exceeding the maximum cookies allowed per host. r=ehsan 2016-08-26 18:04:47 -04:00
dns Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm. 2016-09-01 15:01:16 +10:00
ipc Backed out changeset 10da0eca7bbb (bug 1260931) 2016-09-02 15:33:51 +02:00
locales Bug 1289135 - Fix typos in the properties files r=Ehsan 2016-07-25 16:34:38 +02:00
mime Bug 1195723: [flac] P10. Add media sniffer for flac file. r=kamidphish 2016-08-17 15:47:39 +10:00
protocol Backed out changeset 51b6694efc8f (bug 1260931) 2016-09-02 15:33:51 +02:00
sctp Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm. 2016-09-01 15:01:16 +10:00
socket Bug 1297276 - Fix another instance of mozilla/unused.h that snuck in. 2016-08-25 09:31:35 -04:00
srtp Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
standalone Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
streamconv Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
system Bug 1292323 - Update WrapForJNI usages; r=snorp 2016-08-12 23:15:52 -04:00
test Bug 1297961 (part 1) - Introduce nsURI::GetSpecOrDefault(). r=hurley. 2016-08-26 16:02:31 +10:00
wifi Bug 1296176 - Replace PR_MIN with std::min in netwerk. r=jesup,mcmanus 2016-08-22 14:37:42 -07:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
necko-config.h.in