Skip to content
Snippets Groups Projects
Commit d2d596a2 authored by Craig Tiller's avatar Craig Tiller
Browse files

Fix a bug in the multipoll on poll path where we use a file descriptor thats orphaned by mistake

parent f8c63562
No related branches found
No related tags found
No related merge requests found
......@@ -179,6 +179,9 @@ static void multipoll_with_poll_pollset_maybe_work(
grpc_pollset_kick_consume(&pollset->kick_state, kfd);
}
for (i = 1; i < np; i++) {
if (h->watchers[i].fd == NULL) {
continue;
}
if (h->pfds[i].revents & (POLLIN | POLLHUP | POLLERR)) {
grpc_fd_become_readable(h->watchers[i].fd, allow_synchronous_callback);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment