Merge lp:~esteve/txamqp/366674-detect-connection-lost into lp:txamqp

Proposed by Esteve Fernandez
Status: Merged
Merge reported by: Esteve Fernandez
Merged at revision: not available
Proposed branch: lp:~esteve/txamqp/366674-detect-connection-lost
Merge into: lp:txamqp
Diff against target: None lines
To merge this branch: bzr merge lp:~esteve/txamqp/366674-detect-connection-lost
Reviewer Review Type Date Requested Status
Dan Di Spaltro Approve
Thomas Herve Approve
Review via email: mp+7011@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Thomas Herve (therve) wrote :

+1, seems a reasonable change.

review: Approve
Revision history for this message
Dan Di Spaltro (dan-dispaltro) wrote :

+1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/txamqp/protocol.py'
2--- src/txamqp/protocol.py 2009-04-10 09:37:17 +0000
3+++ src/txamqp/protocol.py 2009-04-25 11:31:56 +0000
4@@ -306,3 +306,6 @@
5
6 channel0 = yield self.channel(0)
7 yield channel0.connection_open(self.vhost)
8+
9+ def connectionLost(self, reason):
10+ self.close(reason)

Subscribers

People subscribed via source and target branches

to status/vote changes: