Add unix socket listening mode
This commit is contained in:
11
src/main.cpp
11
src/main.cpp
@@ -80,9 +80,14 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
|
||||
std::cout << "Configuration loaded successfully:" << std::endl;
|
||||
std::cout << "Server bind address: " << config->server.bind_address
|
||||
<< std::endl;
|
||||
std::cout << "Server port: " << config->server.port << std::endl;
|
||||
if (!config->server.unix_socket_path.empty()) {
|
||||
std::cout << "Unix socket path: " << config->server.unix_socket_path
|
||||
<< std::endl;
|
||||
} else {
|
||||
std::cout << "Server bind address: " << config->server.bind_address
|
||||
<< std::endl;
|
||||
std::cout << "Server port: " << config->server.port << std::endl;
|
||||
}
|
||||
std::cout << "Max request size: " << config->server.max_request_size_bytes
|
||||
<< " bytes" << std::endl;
|
||||
std::cout << "Accept threads: " << config->server.accept_threads << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user