heroku-python / flask-sockets

[DEPRECATED] Alternative: https://github.com/miguelgrinberg/flask-sock
MIT License
1.74k stars 167 forks source link

[Errno 5] Input/output error while client send data large than 1024 bytes. #56

Closed yidaoru closed 6 years ago

yidaoru commented 6 years ago

Flask-sockets raise "Input/output error" while client send data large than 1024 bytes. The code like below: @sockets.route('/test') def ws_recv(ws): try: while not ws.closed: message = ws.receive()#raise "Input/output error" here

How to fix this issue? Thanks for everybody.