Skip to content

Commit e4cefc5

Browse files
committed
Added missing termination handler
1 parent a0c0b37 commit e4cefc5

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/server/capio_server.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,7 @@ int main(int argc, char **argv) {
7676

7777
request_handlers_engine->start();
7878

79+
sig_term_handler(SIGTERM, nullptr, nullptr);
80+
7981
return 0;
8082
}

src/server/client-manager/request_handler_engine.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ class RequestHandlerEngine {
158158

159159
LOG(CAPIO_LOG_SERVER_REQUEST_END);
160160
}
161+
162+
LOG("Terminated handling of posix clients");
161163
}
162164
};
163165

0 commit comments

Comments
 (0)