summaryrefslogtreecommitdiff
path: root/methods/basehttp.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2018-09-18 14:10:03 +0000
committerJulian Andres Klode <jak@debian.org>2018-09-18 14:10:03 +0000
commit64efbcd06aa8038e47db7a8bea2d0f388a3e1bb5 (patch)
treeccd3ca2f5f43addde8067526fe74df63754e558e /methods/basehttp.h
parent252a0a5020726a7b1ee53f2ed5f00e1210f5f4d1 (diff)
parentdf696650b7a8c58bbd92e0e1619e956f21010a96 (diff)
Merge branch 'pu/keep-pipelining-after-close' into 'master'
http: Stop pipeline after close only if it was not filled before See merge request apt-team/apt!25
Diffstat (limited to 'methods/basehttp.h')
-rw-r--r--methods/basehttp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/methods/basehttp.h b/methods/basehttp.h
index 8220c1b3c..5fdff69e0 100644
--- a/methods/basehttp.h
+++ b/methods/basehttp.h
@@ -67,6 +67,7 @@ struct ServerState
bool Persistent;
bool PipelineAllowed;
bool RangesAllowed;
+ unsigned long PipelineAnswersReceived;
bool Pipeline;
URI ServerName;
@@ -122,7 +123,6 @@ class BaseHttpMethod : public aptAuthConfMethod
std::unique_ptr<ServerState> Server;
std::string NextURI;
- unsigned long PipelineDepth;
bool AllowRedirect;
// Find the biggest item in the fetch queue for the checking of the maximum
@@ -131,6 +131,7 @@ class BaseHttpMethod : public aptAuthConfMethod
public:
bool Debug;
+ unsigned long PipelineDepth;
/** \brief Result of the header parsing */
enum DealWithHeadersResult {