summaryrefslogtreecommitdiff
path: root/methods/basehttp.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2021-01-01 09:10:12 +0000
committerJulian Andres Klode <jak@debian.org>2021-01-01 09:10:12 +0000
commitda468783ecfb0b5a8575b1d91abae193519ef5a7 (patch)
tree70f7170585b9f9c0b5b50a2f6f8d3b22896167f1 /methods/basehttp.h
parente115b1a0e96da48a400873f292bbce87d1e2c41e (diff)
parent1663774bf309fbd196fd2b9c5c2afdd7a25fd288 (diff)
Merge branch 'http-to-https' into 'master'
aptmethod: fix HTTP->HTTPS request sequences See merge request apt-team/apt!140
Diffstat (limited to 'methods/basehttp.h')
-rw-r--r--methods/basehttp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/basehttp.h b/methods/basehttp.h
index 4a83f319c..62c9963ea 100644
--- a/methods/basehttp.h
+++ b/methods/basehttp.h
@@ -94,7 +94,7 @@ struct ServerState
/** \brief Get the headers before the data */
RunHeadersResult RunHeaders(RequestState &Req, const std::string &Uri);
- bool Comp(URI Other) const {return Other.Host == ServerName.Host && Other.Port == ServerName.Port;};
+ bool Comp(URI Other) const {return Other.Access == ServerName.Access && Other.Host == ServerName.Host && Other.Port == ServerName.Port;};
virtual void Reset();
virtual bool WriteResponse(std::string const &Data) = 0;