[rabbitmq-discuss] RabbitMQ .NET Client Can Hang with SSL Connections
michael.s.klishin at gmail.com
Sun Feb 16 19:09:04 GMT 2014
2014-02-16 22:33 GMT+04:00 Jonathan Oliver <jonathan.s.oliver42 at gmail.com>:
> The problem is that there is *no timeout* value configured for SSL
> connections. This means that the SSL connection attempt will hang
> indefinitely. And since the connection doesn't exist yet, there's no way
> for any kind of heartbeat thread to tear things down.
> The .NET docs also state that the default read/write timeout is set to
> Infinite by default<http://msdn.microsoft.com/en-us/library/system.net.security.sslstream.readtimeout(v=vs.110).aspx>
> The simple fix is as follows:
> sslStream.ReadTimeout = connectionTimeout;
That you for reporting, we will file a bug about it.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss