Merge branch 'master' of https://github.com/sogou/workflow into nossl

This commit is contained in:
Xie Han
2024-03-01 19:19:37 +08:00
2 changed files with 1 additions and 3 deletions

View File

@@ -1215,6 +1215,7 @@ void *Communicator::accept(const struct sockaddr *addr, socklen_t addrlen,
delete target;
}
close(sockfd);
return NULL;
}

View File

@@ -535,10 +535,7 @@ static void __poller_handle_listen(struct __poller_node *node,
result = node->data.accept(addr, addrlen, sockfd, node->data.context);
if (!result)
{
close(sockfd);
break;
}
res->data = node->data;
res->data.result = result;