NetworkManager/clients/cloud-setup
Thomas Haller 399c04e810
cloud-setup: fix handling cancellation of internal GET operation for EC2 provider
There are two GCancellable at work: one is provided by the user
during nmcs_provider_get_config(), and one is used internally for the
individual HTTP GET requests.

In _get_config_fetch_done_cb(), if the error reason is "cancelled",
then it means that our internal iface_data->cancellable was cancelled.
Probably because an error happend (like a timeout or the user cancelled
the external GCancellable).

In that case, we must not report that the task completed with a
cancellation, because we need to preserve the error that was the
original cause.
2020-12-11 17:36:37 +01:00
..
90-nm-cloud-setup.sh cloud-setup: let dispatcher script run tool only if service is enabled 2019-12-03 16:18:33 +01:00
main.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
meson.build cloud-setup: add tool for automatic IP configuration in cloud 2020-07-29 15:56:15 +02:00
nm-cloud-setup-utils.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nm-cloud-setup-utils.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nm-cloud-setup.service.in cloud-setup: add tool for automatic IP configuration in cloud 2020-07-29 15:56:15 +02:00
nm-cloud-setup.timer cloud-setup: add tool for automatic IP configuration in cloud 2019-11-28 19:52:18 +01:00
nm-http-client.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nm-http-client.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nmcs-provider-azure.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nmcs-provider-azure.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nmcs-provider-ec2.c cloud-setup: fix handling cancellation of internal GET operation for EC2 provider 2020-12-11 17:36:37 +01:00
nmcs-provider-ec2.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nmcs-provider-gcp.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nmcs-provider-gcp.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nmcs-provider.c all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00
nmcs-provider.h all: unify comment style for SPDX-License-Identifier tag 2020-09-29 16:50:53 +02:00