summaryrefslogtreecommitdiff
path: root/methods/http.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2020-08-11 12:26:51 +0000
committerJulian Andres Klode <jak@debian.org>2020-08-11 12:26:51 +0000
commit1e2d586703e8c0227ddb7b3705205c85e3b8507e (patch)
tree65dc9e4082948980820923e60565d9ff98fb488a /methods/http.h
parent23447e9b57a00482a5b26a7cb901f7bf4f28fa73 (diff)
parent8b35e2a3dd7b863639a8909fa2361ed4fd217bc3 (diff)
Merge branch 'pu/http-debug' into 'master'
Add better acquire debugging support See merge request apt-team/apt!130
Diffstat (limited to 'methods/http.h')
-rw-r--r--methods/http.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/http.h b/methods/http.h
index 5668f0b87..cae579afe 100644
--- a/methods/http.h
+++ b/methods/http.h
@@ -114,7 +114,7 @@ struct HttpServerState: public ServerState
virtual bool InitHashes(HashStringList const &ExpectedHashes) APT_OVERRIDE;
virtual Hashes * GetHashes() APT_OVERRIDE;
virtual ResultState Die(RequestState &Req) APT_OVERRIDE;
- virtual bool Flush(FileFd * const File) APT_OVERRIDE;
+ virtual bool Flush(FileFd *const File, bool MustComplete = true) APT_OVERRIDE;
virtual ResultState Go(bool ToFile, RequestState &Req) APT_OVERRIDE;
HttpServerState(URI Srv, HttpMethod *Owner);