diff --git a/rabit/include/rabit/internal/socket.h b/rabit/include/rabit/internal/socket.h index f1a6699fbf0c..89e3244822df 100644 --- a/rabit/include/rabit/internal/socket.h +++ b/rabit/include/rabit/internal/socket.h @@ -100,9 +100,6 @@ std::enable_if_t, xgboost::collective::Result> PollError(E if ((revents & POLLNVAL) != 0) { return xgboost::system::FailWithCode("Invalid polling request."); } - if ((revents & POLLHUP) != 0) { - return xgboost::system::FailWithCode("Poll hung up."); - } return xgboost::collective::Success(); }