Open 1900100209 opened 5 months ago
if(!InitSocket_()) { isClose_ = true;} if(isClose_) { LOG_ERROR("========== Server init error!=========="); } void WebServer::Start() { int timeMS = -1; /* epoll wait timeout == -1 无事件将阻塞 */ if(!isClose_) { LOG_INFO("========== Server start =========="); } while(!isClose_) {
感觉完全是冗余代码
感觉完全是冗余代码