Request for comment for async resolution of DNS names
jra at samba.org
Thu Feb 9 20:08:52 UTC 2017
On Thu, Feb 09, 2017 at 11:59:15AM -0800, Matthieu Patou wrote:
> >> directly someone wouldn't argue that interpret_string_addr_internal was
> >> meant for that and that I should use it.
> > interpret_string_addr_internal() calls strchr_m() which calls
> > get_iconv_handle(). I am 100% sure get_iconv_handle() is not
> > thread-safe.
> I'm fine, I guess we also don't want to have any DEBUG statement in the
> thread ?
Nope. Just get in, get the data (and set an error
return code) and get out of the thread as fast
as possible. Leave anything else to the callback
More information about the samba-technical