Loading src/compress.h +2 −1 Changes for src/compress.h: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -58,7 +58,8 @@ inline void sendCompressed(libhttppp::HttpRequest &req, libhttppp::HttpResponse compress(in, compressed); if (!compressed.empty()) { resp.setHeaderData("content-encoding")->push_back("br"); resp.send(req, compressed.data(), compressed.length()); resp.send(req, reinterpret_cast<const unsigned char*>(compressed.data()), static_cast<int>(compressed.length())); return; } } Loading Loading
src/compress.h +2 −1 Changes for src/compress.h: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -58,7 +58,8 @@ inline void sendCompressed(libhttppp::HttpRequest &req, libhttppp::HttpResponse compress(in, compressed); if (!compressed.empty()) { resp.setHeaderData("content-encoding")->push_back("br"); resp.send(req, compressed.data(), compressed.length()); resp.send(req, reinterpret_cast<const unsigned char*>(compressed.data()), static_cast<int>(compressed.length())); return; } } Loading