mirror of
https://git.proxmox.com/git/fwupd
synced 2026-03-27 13:45:04 +00:00
In the event of a 429 response libcurl does not fail curl_easy_perform() and instead saves the 'Too Many Requests' string as the payload. This obviously fails the cabinet checksum specified in the metadata. Move the response code checks to the success branch and also add checks for the other 4xx and 5xx errors. Fixes the fwupd half of https://github.com/fwupd/firmware-lenovo-thinkpad/issues/137 |
||
|---|---|---|
| .. | ||
| fwupd-client-private.h | ||
| fwupd-client-sync.c | ||
| fwupd-client-sync.h | ||
| fwupd-client.c | ||
| fwupd-client.h | ||
| fwupd-common-private.h | ||
| fwupd-common.c | ||
| fwupd-common.h | ||
| fwupd-context-test.c | ||
| fwupd-deprecated.h | ||
| fwupd-device-private.h | ||
| fwupd-device.c | ||
| fwupd-device.h | ||
| fwupd-enums-private.h | ||
| fwupd-enums.c | ||
| fwupd-enums.h | ||
| fwupd-error.c | ||
| fwupd-error.h | ||
| fwupd-plugin-private.h | ||
| fwupd-plugin.c | ||
| fwupd-plugin.h | ||
| fwupd-release-private.h | ||
| fwupd-release.c | ||
| fwupd-release.h | ||
| fwupd-remote-private.h | ||
| fwupd-remote.c | ||
| fwupd-remote.h | ||
| fwupd-request-private.h | ||
| fwupd-request.c | ||
| fwupd-request.h | ||
| fwupd-security-attr-private.h | ||
| fwupd-security-attr.c | ||
| fwupd-security-attr.h | ||
| fwupd-self-test.c | ||
| fwupd-thread-test.c | ||
| fwupd-version.c | ||
| fwupd-version.h.in | ||
| fwupd.h | ||
| fwupd.map | ||
| meson.build | ||
| README.md | ||
libfwupd
Planned API/ABI changes for next release
- Typedef
FwupdFeatureFlagstoguint64so it's the same size on all platforms - Remove the
soup-sessionfallback property inFwupdClient. - Remove fwupd_device_set_vendor_id() and fwupd_device_get_vendor_id()
- Remove the deprecated flags like
FWUPD_DEVICE_FLAG_MD_SET_ICON - Remove
fwupd_release_get_uri()andfwupd_release_set_uri() - Rename
fwupd_client_install_release2_async()tofwupd_client_install_release_async() - Remove fwupd_device_set_protocol() and fwupd_device_get_protocol()
Migration from Version 0.9.x
- Rename FU_DEVICE_FLAG -> FWUPD_DEVICE_FLAG
- Rename FWUPD_DEVICE_FLAG_ALLOW_ONLINE -> FWUPD_DEVICE_FLAG_UPDATABLE
- Rename FWUPD_DEVICE_FLAG_ALLOW_OFFLINE -> FWUPD_DEVICE_FLAG_ONLY_OFFLINE
- Rename fwupd_client_get_devices_simple -> fwupd_client_get_devices
- Rename fwupd_client_get_details_local -> fwupd_client_get_details
- Rename fwupd_client_update_metadata_with_id -> fwupd_client_update_metadata
- Rename fwupd_remote_get_uri -> fwupd_remote_get_metadata_uri
- Rename fwupd_remote_get_uri_asc -> fwupd_remote_get_metadata_uri_sig
- Rename fwupd_remote_build_uri -> fwupd_remote_build_firmware_uri
- Switch FWUPD_RESULT_KEY_DEVICE_CHECKSUM_KIND to fwupd_checksum_guess_kind()
- Rename fwupd_result_update_() to fwupd_release_()
- Rename fwupd_result_() to fwupd_device_()
- Convert FwupdResult to FwupdDevice in all callbacks
- Rename fwupd_device_provider -> fwupd_device_plugin
- Convert hash types sa{sv} -> a{sv}
- Convert fwupd_client_get_updates() -> fwupd_client_get_upgrades()