NetworkManager/clients
Antonio Cardace fe3ddf3eff
nmcs-http: fix multiple HTTP request bug
Since just a single pointer is used to store the socket's GSource
if more than 1 consecutive request was done through the same
HTTP provider the 2nd request would clear the GSource associated to
the second request causing the 1st HTTP request to never complete
and end up in a expired timeout.

Use a hashtable instead so we can correctly track all requests.

https://bugzilla.redhat.com/show_bug.cgi?id=1821787

Fixes: 69f048bf0c ('cloud-setup: add tool for automatic IP configuration in cloud')
(cherry picked from commit 427fbc85f0)
(cherry picked from commit f5487645d8)
2020-08-04 23:49:32 +02:00
..
cli cli: fix reference count handling in hotspot error path 2020-08-04 23:48:16 +02:00
cloud-setup nmcs-http: fix multiple HTTP request bug 2020-08-04 23:49:32 +02:00
common libnm-core: interpret ovs-patch.peer as an interface name 2020-06-10 17:54:38 +02:00
tests clients/tests: set "UBSAN_OPTIONS" to abort tests and set "ASAN_OPTIONS=detect_leaks=1" 2020-05-14 13:42:58 +02:00
tui meson: merge branch 'inigomartinez/meson-license' 2020-03-28 12:45:19 +01:00
meson.build license: Add license using SPDX identifiers to meson build files 2020-02-17 13:16:57 +01:00
nm-online.c nm-online: allow configuring timeout via NM_ONLINE_TIMEOUT environment 2020-04-30 21:47:30 +02:00