|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Scheduler tweaks:
* Add some more comments
* Remove scheduled queries from the query queue if the querier which issued
them dies. This reduces traffic immensly when many short lived queries are
made, e.g. during host name lookups.
* Don't free a querier object immediately when it is no longer referenced.
Instead keep it and try to recycle it in case someone else wants to do the
same query later on. Free it at the latest moment possible: just before the
next query is scheduled to be made. This reduces traffic immensly when many
short lived queries are made.
With these two changes we can minimize the traffic to zero or near zero for
many simple lookups.
* When responding records with the FLUSH_CACHE bit set, reply immediately only
when all response record have this bit set. Prior to this change we replied
imediately as soon as one record hat this bit set. This change should make us
pass *all* Bonjour mDNS conformance tests without any exceptions.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@954 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
|