cURL / Mailing Lists / curl-library / Single Mail


RE: CURLE_OPERATION_TIMEDOUT using curl_multi_socket_action

From: Daniel Stenberg <>
Date: Tue, 19 Mar 2013 00:06:35 +0100 (CET)

On Sun, 17 Mar 2013, Paras S wrote:

>> 4 - you're using an event-based API so call libcurl when events trigger!

> epoll_calls does just that. It calls PR_QueueJob which in-turn calls
> curl_calls which calls curl_multi_socket_action.

Oh well, then perhaps I'm wrong and you can use that approach...

> By the way, did you happen to go through the other program
> (, which demonstrates that curl tries to create another
> connection even though one has already been established?

Yes, right. You first used the easy interface and then the multi interface so
that behavior was expected. In that case libcurl can't "bring" the connections
from the easy handle into the multi handle.

List admin:
Received on 2013-03-19