src/socket.h
@@ -114,7 +114,7 @@ std::unique_lock<std::mutex> lk(st->mutex); bool sendok = Send(remote, head, body, std::move(OnRecv)); if (!sendok) { printf("send timeout\n"); LOG_DEBUG() << "send timeout"; } if (sendok && st->cv.wait_until(lk, endtime) == std::cv_status::no_timeout) { return true;