From: Pieter Lexis Date: Tue, 14 Mar 2017 14:39:20 +0000 (+0100) Subject: Improve SyncRes::doResolve documentation X-Git-Tag: rec-4.1.0-alpha1~174^2~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=db41a39bb2d1f8705f9c09d20c674846f3223a4b;p=pdns Improve SyncRes::doResolve documentation --- diff --git a/pdns/recursordist/contrib/syncres.dot b/pdns/recursordist/contrib/syncres.dot index 2a3f26ace..b931eea8d 100644 --- a/pdns/recursordist/contrib/syncres.dot +++ b/pdns/recursordist/contrib/syncres.dot @@ -50,12 +50,12 @@ digraph { "return res from doOOBResolve()" [color=green]; doResolve_asyncresolveWrapper -> "return result from asyncresolveWrapper()"; "return result from asyncresolveWrapper()" [color=green]; - doResolve_doCNAMECacheCheck -> "Did doCNAMECacheCheck() return a true-ish value?"; - "Did doCNAMECacheCheck() return a true-ish value?" -> doResolve_return_res [label=yes]; - "Did doCNAMECacheCheck() return a true-ish value?" -> doResolve_doCacheCheck [label=no]; - doResolve_doCacheCheck -> "did doCacheCheck() return a true-ish value?"; - "did doCacheCheck() return a true-ish value?" -> doResolve_return_res [label=yes]; - "did doCacheCheck() return a true-ish value?" -> doResolve_getBestNSNamesFromCache [label=no]; + + doResolve_doCNAMECacheCheck -> doResolve_doCacheCheck [label="returned false"]; + doResolve_doCNAMECacheCheck -> doResolve_return_res [label="returned true"]; + + doResolve_doCacheCheck -> doResolve_getBestNSNamesFromCache [label="returned false"]; + doResolve_doCacheCheck -> doResolve_return_res [label="returned true"]; doResolve_getBestNSNamesFromCache -> doResolve_doResolveAt; doResolve_doResolveAt -> doResolve_return_res [label="res == -2"];