cURL / Mailing Lists / curl-library / Single Mail


Re: not receiving CURLMSG_DONE or other end-of-transfer signals

From: Daniel Stenberg <>
Date: Wed, 22 Apr 2015 08:33:46 +0200 (CEST)

On Tue, 21 Apr 2015, Daniel Hardman wrote:

> I've verified that the edge-triggered change in asio is the cause of the
> hang. In event_cb in asiohiper.cpp, we call curl_multi_socket_action() only
> once for each state transition. This worked fine when asio was
> level-triggered. Now, however, we need to call curl_multi_socket_action()
> repeatedly, until curl tells us that our socket has a new target state.

Are you sure about that?

Calling curl_multi_socket_action() repeatedly is not meant to have any other
effect (assuming nothing changed) so if if you need to do it and if it helps,
I'd say we have a bug to fix.

List admin:
Received on 2015-04-22