xbps/lib
Duncaen 9f52a7837f lib/fetch: add happy eyeballs connect algorithm (RFC6555/RFC8305)
Connect to the addresses from `getaddrinfo(3)`,
alternating between address family,
starting with ipv6 and wait `fetchConnDelay`
between each connection attempt.

If a connection is established within the attempts,
use this connection and close all others.

If `connect(3)` returns `ENETUNREACH`, don't attempt more
connections with the failing address family.

If there are no more addresses to attempt,
wait for `fetchConnTimeout` and return the first established
connection.

If no connection was established within the timeouts,
close all sockets and return -1 and set errno to
`ETIMEDOUT`.
2019-04-19 22:58:50 +02:00
..
compat
external libxbps: use xbps_strlc{at,py} everywhere. 2016-04-17 20:17:37 +02:00
fetch lib/fetch: add happy eyeballs connect algorithm (RFC6555/RFC8305) 2019-04-19 22:58:50 +02:00
portableproplib lib/portableproplib: fix various oob reads/segfaults 2016-04-07 15:07:11 +02:00
archive.c xbps-create(1): timestamps of metadata files are now set to epoch. 2015-09-03 11:12:49 +02:00
cb_util.c
download.c libxbps: use xbps_strlc{at,py} everywhere. 2016-04-17 20:17:37 +02:00
initend.c Revert "lib/initend.c: Fix user virtual packages" 2019-03-22 22:34:11 +01:00
Makefile prepare release 2018-07-30 13:47:08 +02:00
package_alternatives.c lib/package_alternatives.c: cleanup create_symlinks 2016-09-05 16:03:41 +02:00
package_config_files.c Fix xbps_dbg_printf arguments by using __attribute__((format, printf)). 2016-02-06 09:13:38 +01:00
package_configure.c lib/package_configure.c: fix memleak 2016-09-25 21:27:46 +02:00
package_find_obsoletes.c lib/package_find_obsoletes: fix comment 2019-04-14 11:52:32 +02:00
package_fulldeptree.c xbps_get_pkg_fulldeptree(): fix all known bugs and make it 50x faster. 2019-04-19 22:57:42 +02:00
package_msg.c
package_orphans.c Fix namespace violation 2018-09-25 22:11:30 -04:00
package_register.c
package_remove.c lib/package_remove: order directories before removal 2019-04-14 14:30:16 +02:00
package_script.c actually use HAVE_FDATASYNC 2016-02-08 15:09:43 +01:00
package_state.c
package_unpack.c Fix string formatting of 64-bit unsigned integers 2018-07-17 20:50:48 -04:00
pkgdb_conversion.c Introduce xbps_plist_{array,dictionary}_from_file(). 2015-05-28 10:15:05 +02:00
pkgdb.c lib/pkgdb.c: set a sane umask for pkgdb plist 2017-02-27 18:24:46 +01:00
plist_fetch.c Fix namespace violation 2018-09-25 22:11:30 -04:00
plist_find.c Fix 29765271e correctly. 2016-03-24 10:23:20 +01:00
plist_match.c libxbps: the provides obj now expects exact pkgver strings. 2015-01-10 07:26:23 +01:00
plist_remove.c
plist.c xbps_array_foreach_cb_multi: fix incorrect array counter. 2019-04-19 22:57:42 +02:00
proplib_wrapper.c Introduce xbps_plist_{array,dictionary}_from_file(). 2015-05-28 10:15:05 +02:00
pubkey2fp.c upgrade to openssl 1.1.x. 2019-01-24 14:57:50 -05:00
repo_pkgdeps.c Fix xbps_dbg_printf arguments by using __attribute__((format, printf)). 2016-02-06 09:13:38 +01:00
repo_sync.c lib/repo_sync.c: sane umask for repodata files 2017-02-27 18:50:19 +01:00
repo.c lib/repo: plug stage repo mem leak 2016-05-04 09:46:14 +02:00
rpool.c Fix namespace violation 2018-09-25 22:11:30 -04:00
transaction_commit.c libxbps: initialize locale correctly to handle UTF-8 filenames with musl. 2015-12-11 09:59:16 +01:00
transaction_conflicts.c Fix namespace violation 2018-09-25 22:11:30 -04:00
transaction_dictionary.c fix indention 2019-04-14 12:37:24 +02:00
transaction_ops.c xbps now also updates revdeps of itself if there's an update. 2019-04-19 22:57:42 +02:00
transaction_package_replace.c libxbps: extend the fix for #116 even more for the expected case. 2015-10-19 18:19:24 +02:00
transaction_revdeps.c libxbps: remove unused variable `pkgdepname' 2015-10-25 20:03:02 +02:00
transaction_shlibs.c lib/transaction_shlibs.c: fix memleak 2016-09-25 21:47:40 +02:00
transaction_store.c libxbps: print in verbose mode what pkgs are added to the transaction. 2015-09-02 18:56:20 +02:00
util_hash.c lib/util_hash.c: fix memleak. 2016-06-20 10:03:49 +02:00
util.c lib/util.c: improve error handling in xbps_binpkg_{arch,pkgver} 2019-04-14 15:01:18 +02:00
verifysig.c lib/verifysig.c: use xbps_file_hash_raw() 2016-06-16 06:51:10 +02:00