commit | 465584830a49fc41df18dc64ef325301c3ebc98d | [log] [tgz] |
---|---|---|
author | Jungho Ahn <jhahn@google.com> | Tue Sep 22 08:59:35 2015 -0700 |
committer | Jungho Ahn <jhahn@google.com> | Tue Sep 22 08:59:35 2015 -0700 |
tree | e1be5b5e6f78216963925c95f15b8e0d6aed9535 | |
parent | 992138cda9be63f6126ca67885fc0eeff6b85119 [diff] |
third_party/mdns: support multiple watchers Currently, the mdns package supports only one watcher per service. This CL extends it to support multiple watchers for a same service. Also it provides a stop function to stop watching. Add 'port' to RemoveService() args to uniquely identify the registered services better. Change to clean expired records more frequently (3 sec) so that a watcher can learn goodbye packets quickly. Fix data race in setting TTL Refactor check functions in unit tests so that error shows the failed line better. MultiPart: 1/2 Change-Id: If0385743a0106b6f3779b49361f1c0752199f2b9
This repository contains three kinds of code used in the Vanadium project:
Most of the code under third-party is open source, though some packages have restrictive commercial licenses.
Because of Go language conventions, Go packages are found under third_party/go/src/.