Commit 3481eefd authored by jan.koester's avatar jan.koester
Browse files

fixes

parent 29cbdb30
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1104,11 +1104,12 @@ const std::vector<char> libhttppp::HttpClient::_h2Request(
              break; // EAGAIN — no more datagrams available
            }
          }
          // If we pumped datagrams, immediately retry recvStreamData
          // without waiting. Only waitRead when truly idle.
          if (pumped_any)
          // Any pumped packet (including PING) means the connection is alive
          if (pumped_any) {
            last_data = std::chrono::steady_clock::now();
            continue;
          }
        }

        size_t pos = 0;
        while (pos < raw.size()) {