[rabbitmq-discuss] handshake_timeout

Simon MacMullen simon at rabbitmq.com
Tue Jan 10 10:44:03 GMT 2012

On 10/01/12 09:45, Rosa, Andrea wrote:
>> Yes. If there is a *TCP connection* and nothing is sent.
> Just a double check this behavior is specific for rabbitmq, because
> with TCP we can establish a connection and even if nothing is sent
> there is no timeout exception.

Well the point is that we need to establish an AMQP connection on top of 
the TCP connection. If that process does not complete we want to detect 
it and close the connection.

This behaviour is not unique to RabbitMQ - take the example of Apache 
and HTTP. If I telnet to an Apache server and do not start sending HTTP, 
I get disconnected. After about ten seconds ;-)

Once the AMQP connection is actually established it will stay up 
indefinitely (modulo heartbeats).

Cheers, Simon

Simon MacMullen
RabbitMQ, VMware

More information about the rabbitmq-discuss mailing list