summaryrefslogtreecommitdiff
path: root/methods/http.cc
AgeCommit message (Expand)AuthorFilesLines
2016-12-31rename ServerMethod to BaseHttpMethodDavid Kalnischkies1-4/+4
2016-12-31separating state variables regarding server/requestDavid Kalnischkies1-53/+46
2016-11-11http: skip connection cleanup if we close it anyhowDavid Kalnischkies1-0/+3
2016-11-10improve SOCKS error messages for http slightlyDavid Kalnischkies1-14/+46
2016-08-16don't sent Range requests if we know its not acceptedDavid Kalnischkies1-1/+1
2016-08-16reorganize server-states resetting in http/httpsDavid Kalnischkies1-0/+7
2016-08-11http: auto-configure for local Tor proxy if called as 'tor'David Kalnischkies1-0/+3
2016-08-10implement socks5h proxy support for http methodDavid Kalnischkies1-22/+169
2016-08-10implement generic config fallback for methodsDavid Kalnischkies1-29/+30
2016-08-10use the same redirection handling for http and httpsDavid Kalnischkies1-0/+29
2016-08-10detect redirection loops in acquire instead of workersDavid Kalnischkies1-0/+6
2016-08-10fail on unsupported http/https proxy settingsDavid Kalnischkies1-0/+2
2016-07-30prevent C++ locale number formatting in text APIs (try 2)David Kalnischkies1-1/+1
2016-07-05avoid 416 response teardown binding to null pointerDavid Kalnischkies1-7/+9
2016-07-02use +0000 instead of UTC by default as timezone in outputDavid Kalnischkies1-2/+2
2016-06-15http: don't hang on redirect with length + connection closeDavid Kalnischkies1-4/+4
2016-05-28use std::locale::global instead of setlocaleDavid Kalnischkies1-1/+0
2016-05-27prevent C++ locale number formatting in text APIsDavid Kalnischkies1-2/+2
2015-09-14fix two memory leaks reported by gccDavid Kalnischkies1-2/+2
2015-05-22Merge branch 'debian/sid' into debian/experimentalMichael Vogt1-1/+1
2015-05-22Fix endless loop in apt-get update that can cause disk fillupMichael Vogt1-1/+1
2015-04-19calculate hashes while downloading in httpsDavid Kalnischkies1-5/+3
2015-04-19calculate only expected hashes in methodsDavid Kalnischkies1-7/+7
2015-04-19handle servers closing encoded connections correctlyDavid Kalnischkies1-3/+3
2015-03-16derive more of https from http methodDavid Kalnischkies1-2/+0
2014-12-22dispose http(s) 416 error page as non-contentDavid Kalnischkies1-0/+2
2014-12-09dispose http(s) 416 error page as non-contentDavid Kalnischkies1-0/+2
2014-10-13Fix backward compatiblity of the new pkgAcquireMethod::DropPrivsOrDie()Michael Vogt1-0/+2
2014-10-07Send "Fail-Reason: MaximumSizeExceeded" from the methodMichael Vogt1-0/+1
2014-10-07make expected-size a maximum-size check as this is what we want at this pointMichael Vogt1-2/+2
2014-10-06make http size check workMichael Vogt1-63/+7
2014-09-02Make Proxy-Auto-Detect check for each hostMichael Vogt1-60/+2
2014-08-26Pass ExpectedSize to tthe backend methodMichael Vogt1-1/+9
2014-06-24methods/http.cc: use Req.str() in debug outputMichael Vogt1-1/+1
2014-04-26build http request in a stringstreamDavid Kalnischkies1-57/+31
2014-03-13follow method attribute suggestions by gccDavid Kalnischkies1-2/+2
2014-03-13cleanup headers and especially #includes everywhereDavid Kalnischkies1-8/+5
2014-03-13StartPos is always positive for http/httpsDavid Kalnischkies1-7/+2
2014-03-13warning: extra ‘;’ [-Wpedantic]David Kalnischkies1-3/+3
2014-02-22Fix typos in documentation (codespell)Michael Vogt1-2/+2
2014-01-30fix various style/performance warnings in rredDavid Kalnischkies1-1/+0
2014-01-16correct some style/performance/warnings from cppcheckDavid Kalnischkies1-3/+1
2013-10-22add Acquire::http::Proxy-Auto-Detect to the apt.conf.5 manpage (closes: 726597)Michael Vogt1-1/+5
2013-10-01handle complete responses to https range requestsDavid Kalnischkies1-0/+5
2013-10-01refactor http client implementationDavid Kalnischkies1-790/+201
2013-10-01replace "filesize - 1" trick in http with proper 416 handlingDavid Kalnischkies1-6/+21
2013-10-01retry without partial data after a 416 responseDavid Kalnischkies1-2/+17
2013-07-28Merge remote-tracking branch 'mvo/bugfix/coverity' into debian/sidMichael Vogt1-1/+1
2013-07-26request absolute URIs from proxies again (0.9.9.3 regession)David Kalnischkies1-4/+16
2013-07-25fix off-by-one error in HttpMethod::​AutoDetectProxy()Michael Vogt1-1/+1