2015-03-19 16:28 GMT+09:00 Daniel Stenberg <[email protected]>:

> In order to make it work for the multi interface we need to add some
> logic. See lib/easy.c:curl_easy_recv() and the easy_connection() function.


I told you,

> curl_multi_perform()   CONNECT to server
> curl_easy_send() or  curl_easy_recv()
> -> easy_connection()
> -> Curl_getconnectinfo()
> -> data->multi_easy is NULL because it does not use easy_perform()
> -> return CURL_SOCKET_BAD by Curl_getconnectinfo()

Curl_getconnectinfo() want to ONLY work for curl_easy_perform().
I guess this is the point.

I think it is better way that Curl_getconnectinfo() works for BOTH of
easy_perform() and multi_perform().
are you agree?

-- 
.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to