On Wed, 17 Apr 2019, Firefox OS via curl-library wrote:

The program logs in to an imaps:// server (using CURLOPT_CONNECT_ONLY), then enters idle mode using curl_easy_send and receives answer using curl_easy_recv. Then sleeps for a few seconds and tries to clean up everything and quit. I followed the order given at https://curl.haxx.se/libcurl/c/curl_multi_cleanup.html but still curl_multi_cleanup() doesn't exit for a long time.

The issue occurs on libcurl-7.61.1 as well as on latest release curl-7.64.1.

Am I doing something wrong, or is it a bug?

It looks like a bug. I would guess because of the CONNECT_ONLY + IMAP combination.

After a CONNECT_ONLY connection, the shut down if that connection can't be done by the IMAP rules anymore since libcurl has lost the IMAP state and it can only really diconnect the connection.

I'll look into it.

--

 / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to