Loading src/httpd.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -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'); Loading src/httpd.h +1 −0 Original line number Diff line number Diff line Loading @@ -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; }; Loading Loading
src/httpd.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -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'); Loading
src/httpd.h +1 −0 Original line number Diff line number Diff line Loading @@ -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; }; Loading