Verified Commit 8181674b authored by Antonio Cardace's avatar Antonio Cardace Committed by Thomas Haller

nmcs-http: remove the timeout once expired

libcurl's documentation for CURLMOPT_TIMERFUNCTION requires the
application to install a non-repeating timer.

So let's remove the GSource once expired.

Fixes: 69f048bf ('cloud-setup: add tool for automatic IP configuration in cloud')
(cherry picked from commit e09bd233)
(cherry picked from commit b7d53f0d)
(cherry picked from commit 92bded74)
parent e9f865b3
Pipeline #195783 passed with stage
in 30 minutes and 51 seconds
......@@ -654,7 +654,7 @@ static gboolean
_mhandle_timeout_cb (gpointer user_data)
_mhandle_action (user_data, CURL_SOCKET_TIMEOUT, 0);
static int
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment