summaryrefslogtreecommitdiff
path: root/methods/http.cc
AgeCommit message (Expand)AuthorFilesLines
2017-07-26allow the auth.conf to be root:root ownedDavid Kalnischkies1-2/+1
2017-07-26reimplement and document auth.confDavid Kalnischkies1-3/+2
2017-07-26fail early in http if server answer is too small as wellDavid Kalnischkies1-2/+2
2017-07-26fail earlier if server answers with too much dataDavid Kalnischkies1-3/+13
2017-07-12Reformat and sort all includes with clang-formatJulian Andres Klode1-8/+8
2017-07-03Stop bragging about old speeds in http.cc commentsJulian Andres Klode1-8/+0
2017-06-30http: Add support for https:// proxiesJulian Andres Klode1-3/+8
2017-06-30http: Add support for CONNECT proxying to HTTPS locationsJulian Andres Klode1-1/+128
2017-06-28support tor+https being handled by httpDavid Kalnischkies1-3/+10
2017-06-28methods: http: Drain pending data before selectingJulian Andres Klode1-1/+9
2017-06-28methods: Add HTTPS support to http method, using GnuTLSJulian Andres Klode1-177/+10
2017-06-28methods: connect: Switch from int fds to new MethodFdJulian Andres Klode1-37/+40
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