lichao
2021-05-06 0117d5f8ff386075b0c4cbec0cbe460fe3cfa680
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;