diff --git a/src/netbase.cpp b/src/netbase.cpp index 6c386a9ade7..51e78d41fa2 100644 --- a/src/netbase.cpp +++ b/src/netbase.cpp @@ -268,7 +268,7 @@ static IntrRecvError InterruptibleRecv(uint8_t* data, size_t len, int timeout, c #ifdef USE_POLL struct pollfd pollfd = {}; pollfd.fd = hSocket; - pollfd.events = POLLIN | POLLOUT; + pollfd.events = POLLIN; int nRet = poll(&pollfd, 1, timeout_ms); #else struct timeval tval = MillisToTimeval(timeout_ms);