Loading src/http/HttpProxyServer.cpp +2 −0 Changes for src/http/HttpProxyServer.cpp: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -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() Loading Loading
src/http/HttpProxyServer.cpp +2 −0 Changes for src/http/HttpProxyServer.cpp: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -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() Loading