[rabbitmq-discuss] [rabbitmq_c] Infinite wait in login_with_properties function
Alan Antonuk
alan.antonuk at gmail.com
Wed May 14 18:35:28 BST 2014
Use of poll(2) instead of select(2) was added
since<https://github.com/alanxz/rabbitmq-c/commit/a78aa8ab906c97dc3f4123048519a2953fa96fb2>v0.5.0.
Try pulling down the master branch and see if that works for your
use case.
-Alan
On Tue May 13 2014 at 6:34:10 AM, Haster <haster2004 at yandex.ru> wrote:
> Alan,
> I've investigated this problem and found that problem occurs when socket
> get
> descriptor > 1024.
> Because we are using select + fdset for wait data on socket, sometimes it
> works incorrect (I have heard that select can control only descriptors with
> number < 1024).
>
> I see that you also use select in revc_with_timeout function.
> Maybe it is better to use poll or epoll in Linux/Unix?
>
>
>
> --
> View this message in context: http://rabbitmq.1065348.n5.
> nabble.com/rabbitmq-c-Infinite-wait-in-login-with-properties-function-
> tp32275p35492.html
> Sent from the RabbitMQ mailing list archive at Nabble.com.
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140514/8f3e8175/attachment.html>
More information about the rabbitmq-discuss
mailing list