Commit 5dbf9366 authored by jan.koester's avatar jan.koester
Browse files

test

parent 334ba8a8
Loading
Loading
Loading
Loading
+2 −0
Changes for src/http/HttpProxyServer.cpp: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -455,6 +455,8 @@ void HttpProxyController::RequestEvent(libhttppp::HttpRequest &curreq, const int
            libhttppp::HttpResponse curres;
            int status = 200;
            if (auto *last = client.lastResponse()) {
                std::cerr << "[DIAG] upstream version=" << last->getVersion()
                          << " contentType=[" << last->getContentType() << "]" << std::endl;
                status = last->getStatusCode();
                // HttpResponse::parseH2/parseH3 clear the reason phrase entirely (H2/H3
                // responses only carry a numeric ":status" pseudo-header) -- setState()