Commit 7b4bfabd authored by jan.koester's avatar jan.koester
Browse files

test

parent d5c3c43c
Loading
Loading
Loading
Loading
+2 −1
Changes for src/compress.h: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -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;
        }
    }