Skip to content

Commit

Permalink
Fix an infinite read loop with SRV record resolution on windows (grpc…
Browse files Browse the repository at this point in the history
  • Loading branch information
apolcyn authored Mar 15, 2021
1 parent 3956ebe commit ce05bf5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ class GrpcPolledFdWindows {
}
}

bool IsFdStillReadableLocked() { return GRPC_SLICE_LENGTH(read_buf_) > 0; }
bool IsFdStillReadableLocked() { return read_buf_has_data_; }

void ShutdownLocked(grpc_error* error) {
grpc_winsocket_shutdown(winsocket_);
Expand Down

0 comments on commit ce05bf5

Please sign in to comment.