Commit bde24384 authored by jan.koester's avatar jan.koester
Browse files

test

parent 0816c89c
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
libnetplus (20260403+4) unstable; urgency=medium

  * Use HANDSHAKE_TIMEOUT_MS (5000ms) in completeHandshake instead of
    hardcoded 1500ms — servers need time for crypto + key derivation

 -- Jan Koester <jan.koester@tuxist.de>  Fri, 04 Apr 2026 04:00:00 +0200

libnetplus (20260403+3) unstable; urgency=medium

  * Fix QUIC handshake packet loss: retry sendPacket on EAGAIN up to
+1 −1
Original line number Diff line number Diff line
@@ -2378,7 +2378,7 @@ std::vector<uint8_t> quic::buildCryptoFrame(const std::vector<uint8_t>& data, ui
void quic::completeHandshake() {
    // Receive and process packets until handshake is complete or timeout
    const auto start = std::chrono::steady_clock::now();
    const auto timeout = std::chrono::milliseconds(1500);
    const auto timeout = std::chrono::milliseconds(HANDSHAKE_TIMEOUT_MS);
    int recv_attempts = 0;
    int recv_got = 0;