google-code-export / rtmplite

Automatically exported from code.google.com/p/rtmplite
3 stars 1 forks source link

suggestion of sometimes broken pipe or bad file descriptor problem #56

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In send function of FlashClient class
ro you think it would be relevant to check if sock and data are not None ?

    def send(self, data):
+        if self.sock is not None and data is not None:
            self.sock.sendall(data)

thanks

Original issue reported on code.google.com by pratn...@gmail.com on 3 Oct 2011 at 4:10

GoogleCodeExporter commented 9 years ago
Applied in r110

Original comment by kundan10 on 4 Oct 2011 at 5:59