summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2020-11-30 11:52:10 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2020-11-30 11:52:10 +0000
commit7481d52c6ce19da5efa9435a5e57a5b25beb232a (patch)
tree57b34b57bb5aaa0771deb094df22136dffe9d1cd /vespalib
parent32065b5a38dcad1a7c30d89509ee9be02ad5373d (diff)
We must keep the handling in the selector still.
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/net/selector.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vespalib/src/vespa/vespalib/net/selector.h b/vespalib/src/vespa/vespalib/net/selector.h
index 828f29705fb..6b1967ddcd9 100644
--- a/vespalib/src/vespa/vespalib/net/selector.h
+++ b/vespalib/src/vespa/vespalib/net/selector.h
@@ -59,6 +59,7 @@ public:
for (const auto &evt: _events) {
if (evt.data.ptr == nullptr) {
_wakeup_pipe.read_tokens();
+ handler.handle_wakeup();
} else {
Context &ctx = *((Context *)(evt.data.ptr));
bool read = ((evt.events & (EPOLLIN | EPOLLERR | EPOLLHUP)) != 0);