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

test

parent 8f6ad367
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -139,6 +139,10 @@ std::vector<uint8_t> libhttppp::Http3QuicSocket::buildAlpnExtension(const std::s
    return ext_data;
}

std::shared_ptr<netplus::quic> libhttppp::Http3QuicSocket::createChild() const {
    return std::make_shared<Http3QuicSocket>();
}

static std::string h2BuildFrame(uint8_t type, uint8_t flags, uint32_t stream_id,
                                const std::string &payload) {
    std::string f(9 + payload.size(), '\0');
+1 −0
Original line number Diff line number Diff line
@@ -178,6 +178,7 @@ namespace libhttppp {
        using netplus::quic::quic;
        void sendControlStreams() override;
        std::vector<uint8_t> buildAlpnExtension(const std::string& alpn) override;
        std::shared_ptr<netplus::quic> createChild() const override;
    private:
        bool _ctrlStreamsSent = false;
    };