summaryrefslogtreecommitdiff
path: root/methods/connect.cc
AgeCommit message (Expand)AuthorFilesLines
2017-07-12Reformat and sort all includes with clang-formatJulian Andres Klode1-10/+10
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-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-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-28Introduce Acquire::AllowTLS to turn off TLS supportJulian Andres Klode1-0/+3
2017-06-28methods: http: Drain pending data before selectingJulian Andres Klode1-0/+9
2017-06-28methods: Add HTTPS support to http method, using GnuTLSJulian Andres Klode1-0/+361
2017-06-28methods: connect: Switch from int fds to new MethodFdJulian Andres Klode1-15/+41
2017-06-28methods: connect: Change PkgAcqMethod to aptMethodJulian Andres Klode1-7/+8
2016-09-04abort connection on '.' target replies in SRVDavid Kalnischkies1-0/+8
2016-08-26methods/connect.cc: Only use AI_IDN if definedJulian Andres Klode1-0/+2
2016-08-11block direct connections to .onion domains (RFC7687)David Kalnischkies1-1/+19
2016-07-06keep trying with next if connection to a SRV host failedDavid Kalnischkies1-7/+23
2016-01-05Do not remove a not working SrvRecords server twiceMichael Vogt1-3/+1
2015-11-05activate AI_IDN by default to support IDN domainsDavid Kalnischkies1-0/+2
2015-11-04allow getaddrinfo flag AI_ADDRCONFIG to be disabledDavid Kalnischkies1-1/+6
2015-08-31fix some unused parameter/variable warningsDavid Kalnischkies1-6/+4
2015-08-24Fix typoMichael Vogt1-1/+1
2015-08-20Add basic (non weight adjusted) shuffling for SrvRecords selectionMichael Vogt1-2/+3
2015-08-18cleanupMichael Vogt1-10/+8
2014-05-23when using srv records, use the next server if one fails to connectMichael Vogt1-17/+40
2014-05-22WIP make connect use GetSrvRecordsMichael Vogt1-0/+13
2014-03-13cleanup headers and especially #includes everywhereDavid Kalnischkies1-1/+1
2014-01-16correct some style/performance/warnings from cppcheckDavid Kalnischkies1-3/+3
2013-03-25* methods/connect.cc:Michael Vogt1-2/+2
2013-03-22add new config options "Acquire::ForceIPv4" and Michael Vogt1-0/+8
2013-03-21merge patch from Colin to fix error message from getaddrinfo() (#703603)Michael Vogt1-0/+3
2011-09-19use forward declaration in headers if possible instead of includesDavid Kalnischkies1-0/+2
2011-09-19do not pollute namespace in the headers with using (Closes: #500198)David Kalnischkies1-7/+7
2011-09-13reorder includes: add <config.h> if needed and include it at firstDavid Kalnischkies1-1/+3
2010-04-14merged from lp:~mvo/apt/mvoMichael Vogt1-0/+3
2010-04-14Remember hosts with general failures forMichael Vogt1-0/+3
2009-12-18* Merged from the mvo branchMichael Vogt1-3/+4
2009-12-11add AI_ADDRCONFIG to ai_flags in connect.cc as suggested by Aurelien JarnoDavid Kalnischkies1-0/+1
2009-10-20 * methods/connect.cc:David Kalnischkies1-2/+2
2009-09-26Fix some typos from #479997bubulle@debian.org1-1/+1
2008-02-08* methods/connect.cc:Michael Vogt1-0/+16
2008-02-08* methods/connect.cc:Michael Vogt1-0/+16
2008-01-07* apt-pkg/acquire-worker.cc, methods/connect.cc:Michael Vogt1-0/+1
2007-02-05* use pkgAcqMethod::FailReason() for consistent error reportingMichael Vogt1-0/+1