Browse Source

append

master
zhaohe 2 months ago
parent
commit
bcc460136b
  1. 2
      src/components/linuxsocket/unix_socket.cpp

2
src/components/linuxsocket/unix_socket.cpp

@ -58,7 +58,7 @@ void UnixScoket::start() {
} }
if (num_bytes < 0) { if (num_bytes < 0) {
if (errno == EAGAIN || errno == EWOULDBLOCK) { // 超时错误 if (errno == EAGAIN || errno == EWOULDBLOCK) { // 超时错误
logger->info("recvfrom timed out, no data received");
// logger->info("recvfrom timed out, no data received");
continue; continue;
} else { } else {
logger->error("recvfrom failed: {}", strerror(errno)); logger->error("recvfrom failed: {}", strerror(errno));

Loading…
Cancel
Save