summaryrefslogtreecommitdiffstats
path: root/src/ccapi/common
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2011-12-12 20:44:30 +0000
committerTom Yu <tlyu@mit.edu>2011-12-12 20:44:30 +0000
commit5afb7bcbb9a5bd76132be60b58c01f6a3e5e3f7c (patch)
tree0ad66ae1cd37a2cdec62d5cb9f722a81eed323b9 /src/ccapi/common
parente8b38981246f1dc1372455ab29725295ea5ede41 (diff)
downloadkrb5-5afb7bcbb9a5bd76132be60b58c01f6a3e5e3f7c.tar.gz
krb5-5afb7bcbb9a5bd76132be60b58c01f6a3e5e3f7c.tar.xz
krb5-5afb7bcbb9a5bd76132be60b58c01f6a3e5e3f7c.zip
Make ccapiserver exit if its receiveloop thread terminates for any reason
This happens, for example, when the rpc endpoint is already registered by another ccapiserver process. There's no reason to leave a zombie process running that can't receive messages. ticket: 7050 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25540 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/ccapi/common')
-rw-r--r--src/ccapi/common/win/win-utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ccapi/common/win/win-utils.h b/src/ccapi/common/win/win-utils.h
index 6469a61e8b..41cab24dcd 100644
--- a/src/ccapi/common/win/win-utils.h
+++ b/src/ccapi/common/win/win-utils.h
@@ -42,7 +42,8 @@ static enum ccapiMsgType {
CCMSG_REQUEST_REPLY,
CCMSG_DISCONNECT,
CCMSG_LISTEN,
- CCMSG_PING
+ CCMSG_PING,
+ CCMSG_QUIT
};
char* clientEndpoint(const char* UUID);