summaryrefslogtreecommitdiff
path: root/methods
AgeCommit message (Expand)AuthorFilesLines
2017-07-26don't try to parse all fields starting with HTTP as status-lineDavid Kalnischkies1-1/+1
2017-07-12Reformat and sort all includes with clang-formatJulian Andres Klode21-96/+95
2017-07-12methods/aptmethod.h: Add missing fileutl.h includeJulian Andres Klode1-0/+1
2017-07-03Stop bragging about old speeds in http.cc commentsJulian Andres Klode1-8/+0
2017-07-03don't set ip addresses as server names for SNIDavid Kalnischkies1-2/+12
2017-07-03Swap file descriptors before the handshakeJulian Andres Klode1-2/+4
2017-07-03Do not error out, only warn if ca certificates are not availableJulian Andres Klode1-5/+5
2017-07-03tls: Add more details to error messages, and detect more errorsJulian Andres Klode1-9/+11
2017-07-01http: A response with Content-Length: 0 has no contentJulian Andres Klode1-1/+4
2017-07-01Make Verify-Host and Verify-Peer independent againJulian Andres Klode1-2/+2
2017-06-30TLS support: Error out on unsupported curl optionsJulian Andres Klode1-2/+4
2017-06-30Improve closing the TLS connectionJulian Andres Klode1-3/+3
2017-06-30Switch to 'http' as the default https methodJulian Andres Klode3-6/+13
2017-06-30http: Add support for https:// proxiesJulian Andres Klode1-3/+8
2017-06-30http: Add support for CONNECT proxying to HTTPS locationsJulian Andres Klode2-1/+131
2017-06-30Allow running the TLS stack on any lower connectionJulian Andres Klode1-1/+19
2017-06-30Reset failure reason when connection was successfulJulian Andres Klode1-1/+3
2017-06-30Don't read CaInfo if not specified (missing else)Julian Andres Klode1-0/+1
2017-06-29http: Only use system CA store if CaInfo is not setJulian Andres Klode1-7/+10
2017-06-29Improve error message if system CA store is emptyJulian Andres Klode1-1/+4
2017-06-29use port from SRV record instead of initial portDavid Kalnischkies1-1/+5
2017-06-28support tor+https being handled by httpDavid Kalnischkies1-3/+10
2017-06-28Introduce Acquire::AllowTLS to turn off TLS supportJulian Andres Klode1-0/+3
2017-06-28Fix https->http redirect issuesDavid Kalnischkies1-1/+1
2017-06-28methods: http: Drain pending data before selectingJulian Andres Klode3-1/+20
2017-06-28Allow building without curlJulian Andres Klode1-3/+14
2017-06-28methods: Add HTTPS support to http method, using GnuTLSJulian Andres Klode4-181/+379
2017-06-28methods: connect: Switch from int fds to new MethodFdJulian Andres Klode6-72/+126
2017-06-28methods: connect: Change PkgAcqMethod to aptMethodJulian Andres Klode4-12/+14
2017-06-26deal with 3xx httpcodes as required by HTTP/1.1 specDavid Kalnischkies1-12/+12
2017-06-26avoid changing directory in mirror methodDavid Kalnischkies1-17/+13
2017-06-26Annotate intended switch fall through in httpsDavid Kalnischkies1-0/+1
2017-01-24basehttp: Only read Content-Range on 416 and 206 responsesJulian Andres Klode1-1/+5
2017-01-19fix various typos reported by spellintianDavid Kalnischkies3-5/+5
2017-01-19stop rred from leaking debug messages on recovered errorsDavid Kalnischkies1-3/+6
2017-01-17https: Quote path in URL before passing it to curlJulian Andres Klode1-0/+4
2016-12-31rename ServerMethod to BaseHttpMethodDavid Kalnischkies7-45/+45
2016-12-31separating state variables regarding server/requestDavid Kalnischkies6-226/+211
2016-12-08Honour Acquire::ForceIPv4/6 in the https transportLukasz Kawczynski1-0/+5
2016-11-25gpgv: Untrust SHA1, RIPE-MD/160, but allow downgrading to weakJulian Andres Klode1-4/+4
2016-11-24report apt-key errors via status-fd messagesDavid Kalnischkies1-1/+6
2016-11-11http: skip connection cleanup if we close it anyhowDavid Kalnischkies1-0/+3
2016-11-11http: clear content before reporting the failureEdgar Fuß1-1/+1
2016-11-10improve SOCKS error messages for http slightlyDavid Kalnischkies1-14/+46
2016-09-04abort connection on '.' target replies in SRVDavid Kalnischkies1-0/+8
2016-09-01support long keyid and fingerprint in gpgv's GOODSIGDavid Kalnischkies1-4/+20
2016-09-01try not to call memcpy with length 0 in hash calculationsDavid Kalnischkies1-4/+5
2016-08-27Merge branch 'portability/freebsd'Julian Andres Klode2-1/+3
2016-08-26methods/connect.cc: Only use AI_IDN if definedJulian Andres Klode1-0/+2
2016-08-26CMake: Do not use -lresolv if res_init exists in libcJulian Andres Klode1-1/+1