From 93552cc3df52dfd8130ae72361ad277fd1187a6d Mon Sep 17 00:00:00 2001 From: Erich Hoover Date: Wed, 6 Jun 2012 17:35:08 -0600 Subject: [PATCH] server: STATUS_MORE_PROCESSING_REQUIRED indicates that an async operation should not send a completion. --- server/async.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/async.c b/server/async.c index 843a02bbc87..ccddec76a6a 100644 --- a/server/async.c +++ b/server/async.c @@ -243,6 +243,9 @@ void async_set_timeout( struct async *async, timeout_t timeout, unsigned int sta static void add_async_completion( struct async_queue *queue, apc_param_t cvalue, unsigned int status, unsigned int information ) { + if (status == STATUS_MORE_PROCESSING_REQUIRED) + return; /* The async callback has successfully finished but no completion should be reported */ + if (queue->fd) { apc_param_t ckey;