BIND 10 master, updated. c35d0dde3e835fc5f0a78fcfcc8b76c74bc727ca [master] check if the config session is up when checking for queued msgs
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Nov 24 16:01:58 UTC 2011
The branch, master has been updated
via c35d0dde3e835fc5f0a78fcfcc8b76c74bc727ca (commit)
from 64c2d16fff1dd9e903378a55087843ad058791f5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c35d0dde3e835fc5f0a78fcfcc8b76c74bc727ca
Author: Jelte Jansen <jelte at isc.org>
Date: Thu Nov 24 08:00:44 2011 -0800
[master] check if the config session is up when checking for queued msgs
this should fix the systest problem; it seems to trigger a race condition in initialization. If the config session isn't up yet, there will certainly not be any queued messages yet, so simply skipping that should be ok.
-----------------------------------------------------------------------
Summary of changes:
src/bin/auth/auth_srv.cc | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/bin/auth/auth_srv.cc b/src/bin/auth/auth_srv.cc
index c268478..caf69b9 100644
--- a/src/bin/auth/auth_srv.cc
+++ b/src/bin/auth/auth_srv.cc
@@ -219,8 +219,9 @@ class ConfigChecker : public SimpleCallback {
public:
ConfigChecker(AuthSrv* srv) : server_(srv) {}
virtual void operator()(const IOMessage&) const {
- if (server_->getConfigSession()->hasQueuedMsgs()) {
- server_->getConfigSession()->checkCommand();
+ ModuleCCSession* cfg_session = server_->getConfigSession();
+ if (cfg_session != NULL && cfg_session->hasQueuedMsgs()) {
+ cfg_session->checkCommand();
}
}
private:
More information about the bind10-changes
mailing list