xbps/lib
Andreas Kempe 0c657582f2 lib/fetch/common.c: send socks5 request as a single transaction
Splitting the socks5 request is causing issues when running against Tor.
It causes Tor to fail with an address unknown error. Assembling the
request and sending it in its entirety solves the issue.

An strace of torsocks, that functions correctly when used with xbps, shows
that the request is being sent all at once:

        recvfrom(3, "\5\0", 2, 0, NULL, NULL)
        sendto(3, "\5\1\0\3>lysator7eknrfl47rlyxvgeamrv7ucefgrrlhk7rouv3sna25asetwid.onion\0P", 69, 0, NULL, 0)
        recvfrom(3, "\5\0\0\1\0\0\0\0\0\0", 10, 0, NULL, NULL)

Closes: #54 [via git-merge-pr]
2019-04-20 11:11:40 +02:00
..
compat
external libxbps: use xbps_strlc{at,py} everywhere. 2016-04-17 20:17:37 +02:00
fetch lib/fetch/common.c: send socks5 request as a single transaction 2019-04-20 11:11:40 +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 Add the ability to ignore packages 2019-04-19 23:07:59 +02:00
Makefile prepare release 2018-07-30 13:47:08 +02:00
package_alternatives.c fix setting alternatives for packages with more than one group 2019-04-20 11:10:34 +02:00
package_config_files.c unpack: keep conf_files replaced with symlinks, unpack as .new-pkgver 2019-04-20 10:56:08 +02: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 lib/package_msg.c: fix a heap overflow (noticed by @Gottox). 2014-09-16 09:13:32 +02:00
package_orphans.c Fix namespace violation 2018-09-25 22:11:30 -04:00
package_register.c Remove empty self replaced pkg arrays from pkgdb. 2014-09-14 18:16:43 +02:00
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 unpack: keep conf_files replaced with symlinks, unpack as .new-pkgver 2019-04-20 10:56:08 +02:00
pkgdb_conversion.c Introduce xbps_plist_{array,dictionary}_from_file(). 2015-05-28 10:15:05 +02:00
pkgdb.c libxbps: sane umask for pkgdb and files plists 2019-04-20 10:46:59 +02: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 Add the ability to ignore packages 2019-04-19 23:07:59 +02: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 Add the ability to ignore packages 2019-04-19 23:07:59 +02:00
verifysig.c lib/verifysig.c: use xbps_file_hash_raw() 2016-06-16 06:51:10 +02:00