summaryrefslogtreecommitdiffstats
path: root/net/dns/mdns_cache.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add correct handling of goodbye packets to MDnsCachenoamsml@chromium.org2013-07-111-10/+12
| | | | | | | | | | | | Handle goodbye packets separately -- a goodbye packet should never cause the cache to seem to change. Also, a goodbye packet for a record not in the cache should not add it to the cache. BUG=255084 Review URL: https://chromiumcodereview.appspot.com/18106002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211194 0039d316-1c4b-4281-b951-d872f2087c98
* Add NSEC record support for MDnsClientnoamsml@chromium.org2013-07-011-5/+18
| | | | | | | | | | | Add support for NSEC records to MDnsClient, which can be used to deny the existence of records. BUG=255232 Review URL: https://chromiumcodereview.appspot.com/17747004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209452 0039d316-1c4b-4281-b951-d872f2087c98
* MDnsClient: Process all records before alerting listenersnoamsml@chromium.org2013-06-191-6/+21
| | | | | | | | | | | | | | | | | | Change the notification structure in the MDnsListener to notify listeners after the whole packet is processed. This should allow listeners to issue cache queries for other records in the same packet in a synchronous manner. In order to not issue invalid notifications in case the packet contains multiple records that cancel each other out (and thus delete each other), store cache keys in the list of notifications to send, rather than storing record pointers directly. BUG= TEST=MDnsCacheTest.*,MDnsTest.* Review URL: https://chromiumcodereview.appspot.com/17379009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207161 0039d316-1c4b-4281-b951-d872f2087c98
* Cache for mDNS recordsnoamsml@chromium.org2013-05-231-0/+182
A cache for storing mDNS records. Supports scheduling expirations for records, though the actual expiration mechanism may need to be iterated upon. BUG=233821 Review URL: https://chromiumcodereview.appspot.com/14697022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201656 0039d316-1c4b-4281-b951-d872f2087c98