Issue #29 resolved

WebSocketHixie.receive uses fobj before checking if it is None

Jonathan Kamens
created an issue

The receive() function in WebSocketHixie sets read to self.fobj.read and then in the next line (the start of the while loop) checks if self.fobj is not None. Shouldn't it check if it's not None before trying to fetch the value of its read attribute?

Comments (3)

  1. Log in to comment