You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2019/08/30 22:17:24 UTC
[qpid-proton] 02/03: PROTON-2098: Correctly close connections from
client end.
This is an automated email from the ASF dual-hosted git repository.
astitcher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git
commit 8f0f675d1e08340332200f869cf9bffda76c2aa0
Author: Andrew Stitcher <as...@apache.org>
AuthorDate: Fri Aug 30 10:59:31 2019 -0400
PROTON-2098: Correctly close connections from client end.
---
python/proton/_reactor.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/python/proton/_reactor.py b/python/proton/_reactor.py
index 6f44841..e87774a 100644
--- a/python/proton/_reactor.py
+++ b/python/proton/_reactor.py
@@ -961,12 +961,10 @@ class Connector(Handler):
if self.reconnect:
self.reconnect.reset()
- def on_transport_tail_closed(self, event):
- event.transport.close_head()
-
def on_transport_closed(self, event):
if self.connection is None: return
if self.connection.state & Endpoint.LOCAL_ACTIVE:
+
if self.reconnect:
event.transport.unbind()
delay = self.reconnect.next()
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org