limscoder / amfast

An Adobe AMF serialization and RPC implementation for Python, written as a C extension for speed.
MIT License
5 stars 6 forks source link

StreamingWsgiChannel stopStream fails #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Index: wsgi_channel.py
===================================================================
--- wsgi_channel.py (revision 442)
+++ wsgi_channel.py (working copy)
@@ -259,7 +259,7 @@

     def stopStream(self, msg):
         """Stop a streaming connection."""
-        connection =
self.channel_set.getConnection(msg.headers.get(msg.FLEX_CLIENT_ID_HEADER))
+        connection =
self.channel_set.connection_manager.getConnection(msg.headers.get(msg.FLEX_CLIEN
T_ID_HEADER))
         connection.disconnect()
         if hasattr(connection, "notify_func") and connection.notify_func
is not None:
             connection.notify_func()

Original issue reported on code.google.com by ian.card...@gmail.com on 14 Oct 2009 at 3:49

GoogleCodeExporter commented 9 years ago
Fixed in trunk

Original comment by dthomp...@gmail.com on 21 Oct 2009 at 11:55