Use of poll(2) instead of select(2) <a href="https://github.com/alanxz/rabbitmq-c/commit/a78aa8ab906c97dc3f4123048519a2953fa96fb2">was added since</a> v0.5.0. Try pulling down the master branch and see if that works for your use case.<div>
<br></div><div>-Alan</div><div><br><div>On Tue May 13 2014 at 6:34:10 AM, Haster <<a href="mailto:haster2004@yandex.ru">haster2004@yandex.ru</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Alan,<br>
I've investigated this problem and found that problem occurs when socket get<br>
descriptor > 1024.<br>
Because we are using select + fdset for wait data on socket, sometimes it<br>
works incorrect (I have heard that select can control only descriptors with<br>
number < 1024).<br>
<br>
I see that you also use select in revc_with_timeout function.<br>
Maybe it is better to use poll or epoll in Linux/Unix?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://rabbitmq.1065348.n5.nabble.com/rabbitmq-c-Infinite-wait-in-login-with-properties-function-tp32275p35492.html" target="_blank">http://rabbitmq.1065348.n5.<u></u>nabble.com/rabbitmq-c-<u></u>Infinite-wait-in-login-with-<u></u>properties-function-<u></u>tp32275p35492.html</a><br>

Sent from the RabbitMQ mailing list archive at Nabble.com.<br>
______________________________<u></u>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<u></u>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a><br>
</blockquote></div>