Loading src/quic.cpp +7 −3 Changes for src/quic.cpp: 7 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -4501,8 +4501,13 @@ void quic::pumpIncoming() { if (recv_len <= 0) break; dgram.resize(static_cast<size_t>(recv_len)); // Short header packets — route via DCID // Short header packets — route via DCID for server (child connections), // or process directly for client connections (no _child_connections). if (!(dgram[0] & 0x80)) { if (!_parent && parent->_child_connections.empty()) { // Client-side: process packet directly on this connection processIncomingPacket(dgram.data(), dgram.size()); } else { static constexpr size_t CID_LEN = 8; if (dgram.size() < 1 + CID_LEN) continue; std::vector<uint8_t> dcid(dgram.begin() + 1, Loading @@ -4512,8 +4517,7 @@ void quic::pumpIncoming() { it->second->processIncomingPacket(dgram.data(), dgram.size()); } } // Long header packets during streaming are unlikely; ignore them // to keep this helper simple. } } } Loading Loading
src/quic.cpp +7 −3 Changes for src/quic.cpp: 7 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -4501,8 +4501,13 @@ void quic::pumpIncoming() { if (recv_len <= 0) break; dgram.resize(static_cast<size_t>(recv_len)); // Short header packets — route via DCID // Short header packets — route via DCID for server (child connections), // or process directly for client connections (no _child_connections). if (!(dgram[0] & 0x80)) { if (!_parent && parent->_child_connections.empty()) { // Client-side: process packet directly on this connection processIncomingPacket(dgram.data(), dgram.size()); } else { static constexpr size_t CID_LEN = 8; if (dgram.size() < 1 + CID_LEN) continue; std::vector<uint8_t> dcid(dgram.begin() + 1, Loading @@ -4512,8 +4517,7 @@ void quic::pumpIncoming() { it->second->processIncomingPacket(dgram.data(), dgram.size()); } } // Long header packets during streaming are unlikely; ignore them // to keep this helper simple. } } } Loading