]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/http/one/ResponseParser.cc
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / http / one / ResponseParser.cc
index 31431d515c0589160611143cafba1f29fda5fa80..e9c092dc60e2d5dec9f07f7e303cccae4402cd72 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2020 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
  *
  * Squid software is distributed under GPLv2+ license and includes
  * contributions from numerous individuals and organizations.
@@ -7,11 +7,11 @@
  */
 
 #include "squid.h"
-#include "Debug.h"
+#include "base/Raw.h"
+#include "debug/Stream.h"
 #include "http/one/ResponseParser.h"
 #include "http/ProtocolVersion.h"
 #include "parser/Tokenizer.h"
-#include "profiler/Profiler.h"
 #include "sbuf/Stream.h"
 #include "SquidConfig.h"
 
@@ -214,8 +214,6 @@ Http::One::ResponseParser::parse(const SBuf &aBuf)
 
     // stage 2: parse the status-line
     if (parsingStage_ == HTTP_PARSE_FIRST) {
-        PROF_start(HttpParserParseReplyLine);
-
         const int retcode = parseResponseFirstLine();
 
         // first-line (or a look-alike) found successfully.
@@ -226,7 +224,6 @@ Http::One::ResponseParser::parse(const SBuf &aBuf)
         debugs(74, 5, "status-line: status-code " << statusCode_);
         debugs(74, 5, "status-line: reason-phrase " << reasonPhrase_);
         debugs(74, 5, "Parser: bytes processed=" << (aBuf.length()-buf_.length()));
-        PROF_stop(HttpParserParseReplyLine);
 
         // syntax errors already
         if (retcode < 0) {