Commit 66c359ad authored by jan.koester's avatar jan.koester
Browse files

test

parent 095d522f
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -3522,10 +3522,9 @@ void quic::sendStreamData(uint64_t stream_id, const std::vector<uint8_t>& data,

    size_t buf_offset = 0;        // how much of 'data' we've sent so far
    int fc_stalls = 0;
    // 5s max stall — avoids blocking the mutex for too long while
    // waiting for client FC updates.  Previously 60s which could
    // starve all other QUIC connections sharing the same listener.
    static constexpr int MAX_FC_STALLS = 5000;
    // 500ms max stall — avoids blocking the mutex for too long while
    // waiting for client FC updates.
    static constexpr int MAX_FC_STALLS = 500;
    bool blocked_sent = false;
    size_t pkt_counter = 0;       // packets sent since last pump/pace