Commit 87c0ab01 authored by jan.koester's avatar jan.koester
Browse files

test

parent 7661c675
Loading
Loading
Loading
Loading
+0 −2
Changes for src/quic.cpp: 0 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -3405,8 +3405,6 @@ void quic::checkLossAndRetransmit() {
    for (auto& sp : lost) {
        if (sp.data_length == 0 && !sp.fin) continue;

        auto& stream = _streams[sp.stream_id];

        // Build STREAM frame for the lost data
        uint8_t frame_type = 0x08 | 0x02; // LEN bit
        if (sp.stream_offset > 0) frame_type |= 0x04; // OFF bit
+0 −1
Changes for src/socket.h: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -933,7 +933,6 @@ namespace netplus {
		// Loss detection
		static constexpr uint64_t PACKET_THRESHOLD = 3;     // RFC 9002 kPacketThreshold
		static constexpr double   TIME_THRESHOLD   = 9.0/8; // RFC 9002 kTimeThreshold
		std::chrono::steady_clock::time_point _loss_detection_timer;

		// Flow control batching: avoid sending duplicate MAX_DATA/MAX_STREAM_DATA
		bool _pending_max_data = false;