We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
void WebServer::CloseConn_(HttpConn* client) { assert(client); LOG_INFO("Client[%d] quit!", client->GetFd()); epoller_->DelFd(client->GetFd()); client->Close(); }
上面这个函数会因为连接超时而在主线程中执行,如果此时工作线程中正在执行该client的读写任务,岂不是会出问题?
The text was updated successfully, but these errors were encountered:
读写操作前不是会延长60s的时间嘛
Sorry, something went wrong.
No branches or pull requests
上面这个函数会因为连接超时而在主线程中执行,如果此时工作线程中正在执行该client的读写任务,岂不是会出问题?
The text was updated successfully, but these errors were encountered: