rabbitmq / rabbitmq-common

Common library used by rabbitmq-server and rabbitmq-erlang-client
Other
66 stars 112 forks source link

Be more defensive when requesting connection parameters #290

Closed michaelklishin closed 5 years ago

michaelklishin commented 5 years ago

A continuation to rabbitmq/rabbitmq-server#1538.

Some users on the mailing list report stacktraces similar to what rabbitmq/rabbitmq-server#1538 addressed. Looks like in those cases the connection terminates normally, which the code in question did not handle. If we can't retrieve connection parameters, assume they are blank instead of failing with an exception.

lukebakken commented 5 years ago

Backported to v3.7.x