Kenneth Giusti 13759e1254 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
(cherry picked from commit 361669764f)
2018-09-26 05:34:37 +02:00
2017-12-29 11:44:49 -06:00
2015-09-24 18:11:22 +08:00
2017-07-28 21:05:01 +00:00
2014-06-05 22:48:44 +02:00
2017-01-02 11:34:02 +01:00
2017-04-08 22:39:02 +08:00
2017-03-04 01:51:17 +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 37 MiB
Languages
Python 99.8%
Shell 0.2%