[rabbitmq-discuss] PHP AMQP Extension Connection Timeout

Michael Klishin michael.s.klishin at gmail.com
Thu Jun 20 13:42:29 BST 2013


2013/6/20 Umutcan <umutcan at gamegos.com>

> But, it is not working if RabbitMQ server is stopped. Publisher can
> connect to the machine that hosts the server due to security settings,  but
> connection hangs for a long time until it throws an exception which gives
> an socket error message.


Clients should make socket timeouts configurable. If the PHP client you're
using does not,
file an issue with it.

Alternatively, try to see if you can obtain a reference to the socket and
set socket options on it
yourself.
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130620/109252e8/attachment.htm>


More information about the rabbitmq-discuss mailing list