On 06/18/2011 17:50, Yuri wrote:
> recvfrom call retrieving result for DNS query never receives the result
> for some reason.
>    

I found bug in code resolving the sip-dig hang:
in file sres_blocking.c lines
       if (c->block->fds[i].revents | POLLERR)
         sres_resolver_error(c->resolver, c->block->fds[i].fd);
       if (c->block->fds[i].revents | POLLIN)
         sres_resolver_receive(c->resolver, c->block->fds[i].fd);

should look like this:

       if (c->block->fds[i].revents & POLLERR)
         sres_resolver_error(c->resolver, c->block->fds[i].fd);
       if (c->block->fds[i].revents & POLLIN)
         sres_resolver_receive(c->resolver, c->block->fds[i].fd);

After this sip-dig works fine. But empathy still has 'Network error'.

Yuri

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to