David Kalnischkies
|
99fdd8034b
abort connection on '.' target replies in SRV
|
8 years ago |
Julian Andres Klode
|
8265d6c8fd
methods/connect.cc: Only use AI_IDN if defined
|
8 years ago |
David Kalnischkies
|
8665dceb5c
block direct connections to .onion domains (RFC7687)
|
8 years ago |
David Kalnischkies
|
3af3ac2f5e
keep trying with next if connection to a SRV host failed
|
8 years ago |
Michael Vogt
|
0b7d34ee9d
Do not remove a not working SrvRecords server twice
|
9 years ago |
David Kalnischkies
|
920c367267
activate AI_IDN by default to support IDN domains
|
9 years ago |
David Kalnischkies
|
23d35ec15a
allow getaddrinfo flag AI_ADDRCONFIG to be disabled
|
9 years ago |
David Kalnischkies
|
b830f576a8
fix some unused parameter/variable warnings
|
9 years ago |
Michael Vogt
|
c8ec5ab764
Fix typo
|
9 years ago |
Michael Vogt
|
c29dbdffcb
Add basic (non weight adjusted) shuffling for SrvRecords selection
|
9 years ago |
Michael Vogt
|
cdeb54d462
cleanup
|
9 years ago |
Michael Vogt
|
cc4800145b
when using srv records, use the next server if one fails to connect
|
10 years ago |
Michael Vogt
|
a01695e82c
WIP make connect use GetSrvRecords
|
10 years ago |
David Kalnischkies
|
453b82a388
cleanup headers and especially #includes everywhere
|
11 years ago |
David Kalnischkies
|
9ce3cfc930
correct some style/performance/warnings from cppcheck
|
11 years ago |
Michael Vogt
|
5cf466f44e
* methods/connect.cc:
|
11 years ago |
Michael Vogt
|
45d02095cb
add new config options "Acquire::ForceIPv4" and
|
11 years ago |
Michael Vogt
|
945d2a8aee
merge patch from Colin to fix error message from getaddrinfo() (#703603)
|
11 years ago |
David Kalnischkies
|
472ff00ef2
use forward declaration in headers if possible instead of includes
|
13 years ago |
David Kalnischkies
|
8f3ba4e870
do not pollute namespace in the headers with using (Closes: #500198)
|
13 years ago |
David Kalnischkies
|
ea54214002
reorder includes: add <config.h> if needed and include it at first
|
13 years ago |
Michael Vogt
|
df3226c1b1
merged from lp:~mvo/apt/mvo
|
14 years ago |
Michael Vogt
|
785b920b8c
Remember hosts with general failures for
|
14 years ago |
Michael Vogt
|
b3bc1bd74c
* Merged from the mvo branch
|
15 years ago |
David Kalnischkies
|
d746ad6e04
add AI_ADDRCONFIG to ai_flags in connect.cc as suggested by Aurelien Jarno
|
15 years ago |
David Kalnischkies
|
ce26dee77d
* methods/connect.cc:
|
15 years ago |
bubulle@debian.org
|
cdd5a135d9
Fix some typos from #479997
|
15 years ago |
Michael Vogt
|
1b7fe0e12c
* methods/connect.cc:
|
17 years ago |
Michael Vogt
|
654881fb48
* methods/connect.cc:
|
17 years ago |
Michael Vogt
|
f0983ff209
* apt-pkg/acquire-worker.cc, methods/connect.cc:
|
17 years ago |