Commit 7728b6ef authored by jan.koester's avatar jan.koester
Browse files

test



Co-authored-by: default avatarCopilot <copilot@github.com>
parent 25b39261
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -95,7 +95,7 @@ public:
static void runServer(std::map<std::string, ssl::CertificateBundle>& certs) {
    try {
        quic serverSock(certs, "127.0.0.1", 18443, 1024, -1);
        serverSock.setStreamCallback([](socket* sock, uint64_t stream_id,
        serverSock.setStreamCallback([](netplus::socket* sock, uint64_t stream_id,
                                        const std::vector<uint8_t>& data, bool fin) {
            quic* q = dynamic_cast<quic*>(sock);
            if (!q || data.empty()) return;