diff options
| author | Julian Andres Klode <jak@debian.org> | 2021-01-01 09:10:12 +0000 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2021-01-01 09:10:12 +0000 |
| commit | da468783ecfb0b5a8575b1d91abae193519ef5a7 (patch) | |
| tree | 70f7170585b9f9c0b5b50a2f6f8d3b22896167f1 /methods/basehttp.h | |
| parent | e115b1a0e96da48a400873f292bbce87d1e2c41e (diff) | |
| parent | 1663774bf309fbd196fd2b9c5c2afdd7a25fd288 (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.h | 2 |
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; |
