Kenneth Giusti 361669764f Do not access the connection's socket during error callback
The _get_connection_info() method attempts to gather debug information
from the connection, and will reach into the amqp channel to get the
local (client's) TCP port number via the 'sock' property.

If _get_connection_info() is called from autoretry's on_error handler
the 'sock' property notices that the transport is not set and attempts
to re-connect.  amqp has deprecated this reconnect behavior, and in
any case the client's socket is irrelevant since the connection may
not be valid at this point.

Closes-Bug: #1745166
Change-Id: I3c42f8463605927f6f94d6c3a7f05e584476abc1
2018-07-06 12:15:53 -04:00
2018-06-11 15:11:31 -04:00
2015-09-24 18:11:22 +08:00
2018-07-04 08:33:49 +07:00
2018-07-04 08:33:49 +07:00
2018-05-11 09:38:50 -04:00
2014-06-05 22:48:44 +02:00
2018-03-21 10:58:23 -04:00
2017-04-08 22:39:02 +08:00
2018-07-04 08:33:49 +07:00
2018-06-21 13:16:36 +08:00
2017-12-13 05:01:29 +00:00

Team and repository tags

image

Oslo Messaging Library

Latest Version

Downloads

The Oslo messaging API supports RPC and notifications over a number of different messaging transports.

Description
OpenStack library for messaging
Readme 36 MiB
Languages
Python 99.8%
Shell 0.2%