mirror of
https://github.com/sogou/workflow.git
synced 2026-10-21 22:56:42 +08:00
fix no more accept invoke when request over 20 times
This commit is contained in:
@@ -1590,7 +1590,7 @@ void Communicator::handle_accept_result(struct poller_result *res)
|
||||
if (!service->ssl_ctx || __ssl_accept(service->ssl_ctx, entry) >= 0)
|
||||
{
|
||||
if (this->poller->put_io(&data, timeout) >= 0)
|
||||
return;
|
||||
break;
|
||||
}
|
||||
|
||||
delete new_ctx;
|
||||
|
||||
Reference in New Issue
Block a user