summaryrefslogtreecommitdiff
path: root/methods/server.h
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2014-09-05 16:24:32 +0200
committerMichael Vogt <mvo@ubuntu.com>2014-09-05 16:24:32 +0200
commit9622b2111095c3fc705ec0615d27fe403e18c3b8 (patch)
treefcad94a108b9cb290b44218ff0af89ee8f339120 /methods/server.h
parent592d06b6f3c2ef2ae47c38005ae3c4e96a0841f2 (diff)
Improve Debug::Acquire::http debug output
Prefix all answers with the URL that the answer is for. This helps when debugging and pipeline is enabled.
Diffstat (limited to 'methods/server.h')
-rw-r--r--methods/server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/server.h b/methods/server.h
index 0f45ab994..f5e68d902 100644
--- a/methods/server.h
+++ b/methods/server.h
@@ -68,7 +68,7 @@ struct ServerState
RUN_HEADERS_PARSE_ERROR
};
/** \brief Get the headers before the data */
- RunHeadersResult RunHeaders(FileFd * const File);
+ RunHeadersResult RunHeaders(FileFd * const File, const std::string &Uri);
bool Comp(URI Other) const {return Other.Host == ServerName.Host && Other.Port == ServerName.Port;};
virtual void Reset() {Major = 0; Minor = 0; Result = 0; Code[0] = '\0'; Size = 0;