diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/task_proto.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/task_proto.cc b/src/task_proto.cc index cf647d5..304080d 100644 --- a/src/task_proto.cc +++ b/src/task_proto.cc @@ -38,6 +38,10 @@ #include "messagehandler.h" #include "connectionhandler.h" +#include "taskmanager.h" + +extern TaskManager taskman; + #if 0 static void dump_handshake_info(struct lws_tokens *lwst) { @@ -85,6 +89,8 @@ int callback_lws_task(struct libwebsocket_context * context, enum libwebsocket_callback_reasons reason, void *user, void *in, size_t len) { + taskman.tree.toStdOut(); + switch (reason) { case LWS_CALLBACK_SERVER_WRITEABLE: { |