refs #117
This commit is contained in:
@@ -6,6 +6,11 @@ ChangeLog
|
||||
- Check for socket before attempting to close (#115)
|
||||
- Enable turning off SSL verification in wsdump.py(#116)
|
||||
- Enable to set subprotocol(#118)
|
||||
- Better support for Autobahn test suite (http://autobahn.ws/testsuite) (#117)
|
||||
|
||||
- v0.20.0
|
||||
|
||||
- fix typo.
|
||||
|
||||
- v0.19.0
|
||||
|
||||
|
@@ -720,7 +720,7 @@ class WebSocket(object):
|
||||
self._cont_data = None
|
||||
frame.data = data[1]
|
||||
if not self.fire_cont_frame and data[0] == ABNF.OPCODE_TEXT and not validate_utf8(frame.data):
|
||||
raise WebSocketProtocolException("cannot decode: " + repr(frame.data))
|
||||
raise WebSocketPayloadException("cannot decode: " + repr(frame.data))
|
||||
return [data[0], frame]
|
||||
|
||||
elif frame.opcode == ABNF.OPCODE_CLOSE:
|
||||
|
Reference in New Issue
Block a user