| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Archives
Re: Threaded resolver still blocked in Curl_resolver_cancel?
From: Mac Wang <liangyun.wang_at_gmail.com>
Date: Tue, 1 May 2012 11:52:33 -0700
On Sun, 29 Apr 2012, Daniel Stenberg wrote:
> That is not true. I would expect us to have gotten (many more) bug reports if
Inside this function, Curl_resolver_is_resolved, after we determined
if(done) {
There is this check in the beginning of Curl_expire:
if(!multi)
So I guess Curl_expire doesn't do anything if not used in multi interface (?)
> The resolver is not directly used at all by an application. The application
This is exactly what I expected, but it turns out
Curl_done(&easy->easy_conn, easy->result, premature);
which, in turn, calls
Curl_resolver_cancel(conn);
and then
destroy_async_data(&conn->async);
and finally blocks at here:
Curl_thread_join(&td->thread_hnd);
> Now, is curl_multi_remove_handle() can hang due to this, it is either a bug
I guess it's totally understandable that a 'join' would block here,
Regards,
-------------------------------------------------------------------
These mail archives are generated by hypermail. |
Page updated January 05, 2012.
web site info