oslo.messaging/oslo_messaging
ozamiatin 4a1679450d [zmq] Dynamic connections send failure
For dynamic connections it is crucial to close connection
and not to have hanging sockets either we have sent message
successfully or not.

eventlet.green.zmq by default blocks the calling thread on sending message
when connection was not established yet (which is correct DEALER
socket behavior though), but socket cannot be closed when we hang on
sending forever (if we never get the valid host to connect).

eventlet also shields EAGAIN exception in default (blocking) sending mode
so we need to use async zmq.NOBLOCK flag to receive this exception
and hanlde it in our own way to not block forever.

Change-Id: Ib561e061c4b20644213c059a8e8d0efd225edea1
Closes-Bug: #1658913
Closes-Bug: #1663459
2017-02-11 05:25:53 +02:00
..
2016-12-21 17:52:14 +08:00
2016-05-18 09:28:15 +02:00
2016-01-29 10:39:35 +00:00
2016-05-23 10:14:02 +02:00
2016-09-12 09:49:00 -04:00