xbps/lib
Érico Rolim 9c5443d134
fetch/http: add missing case when treating status code.
The HTTP_REDIRECT() macro already included this case, but the
switch-case with the return value of http_get_reply(conn) didn't. This
made it so that a server returning HTTP_TEMP_REDIRECT (307) would
generate a failure, unless libfetch was used in verbose mode, in which
case the headers would be parsed (in order to report errors), then the
'Location' header would be found and a new connection would be made.

Fixes #348
2021-02-04 23:14:34 +01:00
..
compat Revert "Move all external code to lib/external." 2021-02-04 22:42:57 +01:00
external Revert "Move all external code to lib/external." 2021-02-04 22:42:57 +01:00
fetch fetch/http: add missing case when treating status code. 2021-02-04 23:14:34 +01:00
portableproplib Revert "Move all external code to lib/external." 2021-02-04 22:42:57 +01:00
archive.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
cb_util.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
conf.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
download.c lib/download.c: fix digestlen assert and add if condition to avoid misuse 2020-02-10 15:03:54 +01:00
initend.c Revert "xbps_init: autodetect musl libc variant at compile time." 2021-02-04 22:41:21 +01:00
log.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
Makefile lib/Makefile: guard -fvisibility=hidden flag. 2021-02-04 23:09:35 +01:00
package_alternatives.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
package_config_files.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
package_configure.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
package_fulldeptree.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
package_msg.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
package_orphans.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
package_register.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
package_remove.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
package_script.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
package_state.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
package_unpack.c tree-wide: remove unnecessary __UNCONST usage. 2021-02-04 23:02:39 +01:00
pkgdb_conversion.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
pkgdb.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
plist_fetch.c xbps_repo_fetch_remote: use XBPS_REPOIDX_META. 2020-01-06 15:09:16 +01:00
plist_find.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
plist_match.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
plist_remove.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
plist.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
proplib_wrapper.c proplib_wrapper: remove return from void functions. 2021-02-04 23:09:35 +01:00
pubkey2fp.c tree-wide: remove unnecessary __UNCONST usage. 2021-02-04 23:02:39 +01:00
repo_sync.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
repo.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
rpool.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
transaction_check_conflicts.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
transaction_check_replaces.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
transaction_check_revdeps.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
transaction_check_shlibs.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
transaction_commit.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
transaction_fetch.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
transaction_files.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
transaction_ops.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
transaction_pkg_deps.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
transaction_prepare.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
transaction_store.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
util_hash.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
util_path.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
util.c Revert "Use shared LICENSE file for all xbps code." 2020-04-29 14:12:10 +02:00
verifysig.c tree-wide: remove unnecessary __UNCONST usage. 2021-02-04 23:02:39 +01:00