summaryrefslogtreecommitdiff
path: root/methods/server.cc
AgeCommit message (Expand)AuthorFilesLines
2016-12-31rename ServerMethod to BaseHttpMethodDavid Kalnischkies1-825/+0
2016-12-31separating state variables regarding server/requestDavid Kalnischkies1-82/+69
2016-11-11http: clear content before reporting the failureEdgar Fuß1-1/+1
2016-08-16don't try pipelining if server closes connectionsDavid Kalnischkies1-1/+9
2016-08-16don't sent Range requests if we know its not acceptedDavid Kalnischkies1-0/+10
2016-08-16reorganize server-states resetting in http/httpsDavid Kalnischkies1-12/+13
2016-08-13http(s): allow empty values for header fieldsDavid Kalnischkies1-19/+16
2016-08-11http: auto-configure for local Tor proxy if called as 'tor'David Kalnischkies1-0/+26
2016-08-10implement generic config fallback for methodsDavid Kalnischkies1-8/+49
2016-08-10use the same redirection handling for http and httpsDavid Kalnischkies1-38/+18
2016-08-10detect redirection loops in acquire instead of workersDavid Kalnischkies1-44/+31
2016-07-27http: skip requesting if pipeline is fullDavid Kalnischkies1-0/+2
2016-07-27use proper warning for automatic pipeline disableDavid Kalnischkies1-4/+1
2016-06-27close server if parsing of header field failedDavid Kalnischkies1-0/+1
2016-05-28use std::locale::global instead of setlocaleDavid Kalnischkies1-1/+0
2016-05-27prevent C++ locale number formatting in text APIsDavid Kalnischkies1-1/+1
2016-04-25don't ask server if we have entire file in partial/David Kalnischkies1-24/+54
2016-01-26act on various suggestions from cppcheckDavid Kalnischkies1-1/+2
2016-01-12Only enable pipelining if server is HTTP/1.1Julian Andres Klode1-0/+8
2015-12-27Convert most callers of isspace() to isspace_ascii()Julian Andres Klode1-1/+1
2015-11-05allow acquire method specific options via Binary scopeDavid Kalnischkies1-13/+2
2015-11-04wrap every unlink call to check for != /dev/nullDavid Kalnischkies1-2/+2
2015-09-14fix two memory leaks reported by gccDavid Kalnischkies1-8/+9
2015-08-27fix various typos reported by codespellDavid Kalnischkies1-2/+2
2015-05-22Merge branch 'debian/sid' into debian/experimentalMichael Vogt1-14/+24
2015-05-22Rename "Size" in ServerState to TotalFileSizeMichael Vogt1-10/+10
2015-05-22Fix endless loop in apt-get update that can cause disk fillupMichael Vogt1-5/+15
2015-05-12detect 416 complete file in partial by expected hashDavid Kalnischkies1-3/+16
2015-04-19calculate hashes while downloading in httpsDavid Kalnischkies1-1/+7
2015-04-19calculate only expected hashes in methodsDavid Kalnischkies1-1/+1
2015-03-16derive more of https from http methodDavid Kalnischkies1-1/+6
2015-03-16merge debian/sid into debian/experimentalDavid Kalnischkies1-1/+1
2015-02-23Fix crash in the apt-transport-https when Owner is NULLTomasz Buchert1-1/+1
2014-12-22dispose http(s) 416 error page as non-contentDavid Kalnischkies1-11/+15
2014-12-09dispose http(s) 416 error page as non-contentDavid Kalnischkies1-11/+15
2014-10-08Fix ServerMethod::FindMaximumObjectSizeInQueue()Michael Vogt1-1/+1
2014-10-08Fix http pipeline messup detectionMichael Vogt1-2/+14
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-6/+10
2014-09-27fix: %i in format string (no. 1) requires 'int' but the argument type isDavid Kalnischkies1-3/+3
2014-09-23Merge branch 'debian/sid' into debian/experimentalMichael Vogt1-3/+4
2014-09-05Improve Debug::Acquire::http debug outputMichael Vogt1-3/+4
2014-08-26Pass ExpectedSize to tthe backend methodMichael Vogt1-0/+5
2014-05-09reenable pipelining via hashsum reordering supportDavid Kalnischkies1-4/+42
2014-03-13cleanup headers and especially #includes everywhereDavid Kalnischkies1-16/+11
2014-03-13warning: extra ‘;’ [-Wpedantic]David Kalnischkies1-10/+10
2014-02-22Fix typos in documentation (codespell)Michael Vogt1-3/+3
2014-02-14allow http protocol to switch to httpsDavid Kalnischkies1-5/+9
2014-02-11use utimes instead of utimensat/futimensDavid Kalnischkies1-6/+6
2014-01-16correct some style/performance/warnings from cppcheckDavid Kalnischkies1-13/+12