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

bugfix

parent d82c1069
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -47,17 +47,6 @@ static void check(bool ok, const std::string& name) {
    else    { std::cout << "  FAIL: " << name << std::endl; g_failed++; }
}

static std::string toHex(const std::vector<uint8_t>& v) {
    static const char* hexd = "0123456789abcdef";
    std::string s;
    s.reserve(v.size() * 2);
    for (uint8_t b : v) {
        s.push_back(hexd[b >> 4]);
        s.push_back(hexd[b & 0x0F]);
    }
    return s;
}

// ============================================================================
// QUIC echo server
// ============================================================================