fix no more accept invoke when request over 20 times

This commit is contained in:
dengjun
2020-12-26 13:37:47 +08:00
parent 33cc8e3092
commit 82c03bf926
+1 -1
View File
@@ -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;